testmode: 解决编译不通过问题

补充声明 getAppFileName();
This commit is contained in:
Calcitem 2020-09-04 23:50:32 +08:00
parent eefb62420b
commit 7ca4d8eef2
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@
#include "misc.h" #include "misc.h"
#include "test.h" #include "test.h"
#ifdef TEST_MODE
QString getAppFileName();
#endif /* TEST_MODE */
extern QString APP_FILENAME_DEFAULT; extern QString APP_FILENAME_DEFAULT;
Test::Test(QWidget *parent, QString k) Test::Test(QWidget *parent, QString k)