main: Remove `QCoreApplication::setQuitLockEnabled(false);`

This was a workaround for QTBUG-124386.
This commit is contained in:
Jonas Kvinge 2024-06-19 21:33:01 +02:00
parent ae7e515945
commit ceea805196
1 changed files with 0 additions and 2 deletions

View File

@ -136,8 +136,6 @@ int main(int argc, char *argv[]) {
QCoreApplication::setApplicationVersion(QStringLiteral(STRAWBERRY_VERSION_DISPLAY)); QCoreApplication::setApplicationVersion(QStringLiteral(STRAWBERRY_VERSION_DISPLAY));
QCoreApplication::setOrganizationDomain(QStringLiteral("strawberrymusicplayer.org")); QCoreApplication::setOrganizationDomain(QStringLiteral("strawberrymusicplayer.org"));
QCoreApplication::setQuitLockEnabled(false);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);