Don't use unneeded QEventLoop::ApplicationExec

This commit is contained in:
Ilya Fedin 2022-12-07 10:53:51 +04:00 committed by John Preston
parent 1f39d16a35
commit 6f50906952

View file

@ -296,8 +296,7 @@ void LaunchGApplication() {
Core::App().notifications().createManager();
});
QEventLoop loop;
loop.exec(QEventLoop::ApplicationExec);
QEventLoop().exec();
app->quit();
}, true);