mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
fix: glog is not be closed
This commit is contained in:
parent
47dce36d96
commit
4aed899111
@ -13,11 +13,13 @@
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
qputenv("QT_QUICK_CONTROLS_MATERIAL_VARIANT", "Dense");
|
||||
QString appName = QString("EasyDebug");
|
||||
const QString appName = QString("EasyDebug");
|
||||
sakDoSomethingBeforeAppCreated(argv, appName);
|
||||
|
||||
SAKGuiApplication app(argc, argv);
|
||||
Q_UNUSED(app)
|
||||
SAKLog::instance()->start();
|
||||
return SAKGuiApplication::exec();
|
||||
int ret = app.exec();
|
||||
|
||||
sakDoSomethingAfterAppExited();
|
||||
return ret;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user