Commit 7ca19f74 by NitefullWind

1. 修复程序启动时的弹窗关闭后程序退出问题。

parent 18ad56b1
...@@ -138,8 +138,9 @@ int main(int argc, char** argv) ...@@ -138,8 +138,9 @@ int main(int argc, char** argv)
#else #else
svc.start(); svc.start();
QWidget w; QWidget w;
w.setAttribute(Qt::WA_QuitOnClose, false);
w.show(); w.show();
w.hide(); w.close();
return qApp->exec(); return qApp->exec();
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment