Update main.cpp

This commit is contained in:
DavidXanatos 2023-03-14 18:39:09 +01:00
parent 0078d1694b
commit b30535da60
1 changed files with 2 additions and 0 deletions

View File

@ -55,7 +55,9 @@ int main(int argc, char *argv[])
// QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
//}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);
#endif
QtSingleApplication app(argc, argv);
app.setQuitOnLastWindowClosed(false);