Merge pull request #2314 from PrismLauncher/backport-2294-to-release-8.x

[Backport release-8.x] Fixed application close on open file dialog
This commit is contained in:
Alexandru Ionut Tripon 2024-04-19 00:13:36 +03:00 committed by GitHub
commit cb0fe08bed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,6 +225,7 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv)
// Don't quit on hiding the last window // Don't quit on hiding the last window
this->setQuitOnLastWindowClosed(false); this->setQuitOnLastWindowClosed(false);
this->setQuitLockEnabled(false);
// Commandline parsing // Commandline parsing
QCommandLineParser parser; QCommandLineParser parser;