更新代码
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "frmmain.h"
|
||||
#include "quihelper.h"
|
||||
#include "qthelper.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@@ -14,16 +14,16 @@ int main(int argc, char *argv[])
|
||||
a.setWindowIcon(QIcon(":/main.ico"));
|
||||
|
||||
//设置编码以及加载中文翻译文件
|
||||
QUIHelper::initAll();
|
||||
QtHelper::initAll();
|
||||
|
||||
//读取配置文件
|
||||
AppConfig::ConfigFile = QString("%1/%2.ini").arg(QUIHelper::appPath()).arg(QUIHelper::appName());
|
||||
AppConfig::ConfigFile = QString("%1/%2.ini").arg(QtHelper::appPath()).arg(QtHelper::appName());
|
||||
AppConfig::readConfig();
|
||||
|
||||
frmMain w;
|
||||
w.setWindowTitle("网络中转服务器 V2022 (QQ: 517216493 WX: feiyangqingyun)");
|
||||
w.setWindowTitle("网络中转服务器 V2023 (QQ: 517216493 WX: feiyangqingyun)");
|
||||
w.resize(900, 650);
|
||||
QUIHelper::setFormInCenter(&w);
|
||||
QtHelper::setFormInCenter(&w);
|
||||
w.show();
|
||||
|
||||
return a.exec();
|
||||
|
||||
Reference in New Issue
Block a user