diff --git a/NameCreater/NameCreater.pro.user b/NameCreater/NameCreater.pro.user index 1377e55..820f233 100644 --- a/NameCreater/NameCreater.pro.user +++ b/NameCreater/NameCreater.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -8,7 +8,7 @@ ProjectExplorer.Project.ActiveTarget - 0 + 1 ProjectExplorer.Project.EditorSettings diff --git a/NameCreater/main.cpp b/NameCreater/main.cpp index a0e9fd9..7b2bc3b 100644 --- a/NameCreater/main.cpp +++ b/NameCreater/main.cpp @@ -11,7 +11,6 @@ #include #include #include -#include #define BG_MIX_PATH ":/NameCreater/resource/background.jpg" #define BG_BOY_PATH ":/NameCreater/resource/background_boy.jpg" @@ -152,7 +151,7 @@ int main(int argc, char* argv[]) QFile font_res(font_path); if (!font_res.open(QIODevice::ReadOnly)) { QMessageBox msgBox; - msgBox.setText("Can not load font file!"); + msgBox.setText("Can not load font file!" + font_path); msgBox.exec(); font_res.close(); return 0;