|
@ -10,6 +10,9 @@ int main(int argc, char *argv[]) |
|
|
{ |
|
|
{ |
|
|
QApplication a(argc, argv); |
|
|
QApplication a(argc, argv); |
|
|
|
|
|
|
|
|
|
|
|
//切换当前工作目录
|
|
|
|
|
|
QDir::setCurrent(QCoreApplication::applicationDirPath()); |
|
|
|
|
|
|
|
|
//初始化配置文件
|
|
|
//初始化配置文件
|
|
|
MainConfig::initConfig(); |
|
|
MainConfig::initConfig(); |
|
|
|
|
|
|
|
@ -41,7 +44,7 @@ int main(int argc, char *argv[]) |
|
|
QObject::connect(&w,&MainWidget::complexOneKeyStart,&httpService,&HttpService::onComplexOneKeyStart); |
|
|
QObject::connect(&w,&MainWidget::complexOneKeyStart,&httpService,&HttpService::onComplexOneKeyStart); |
|
|
|
|
|
|
|
|
w.show(); |
|
|
w.show(); |
|
|
// w.showFullScreen();
|
|
|
// w.showFullScreen();
|
|
|
|
|
|
|
|
|
return a.exec(); |
|
|
return a.exec(); |
|
|
} |
|
|
} |
|
|