core: fix build warnings

This commit is contained in:
outfoxxed 2024-04-07 23:07:05 -07:00
parent 082c3c480f
commit ff8e252944
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 6 additions and 3 deletions

View file

@ -325,5 +325,7 @@ int qs_main(int argc, char** argv) {
auto root = RootWrapper(configFilePath);
QGuiApplication::setQuitOnLastWindowClosed(false);
return QCoreApplication::exec();
auto code = QCoreApplication::exec();
delete app;
return code;
}