Fix kdeconnect daemon quitting in Qt6
This commit is contained in:
parent
6e8abd75e8
commit
e957f8f90e
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ int main(int argc, char *argv[])
|
|||
detectPlatform(argc, argv);
|
||||
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#if QT_VERSION_MAJOR == 6
|
||||
QGuiApplication::setQuitLockEnabled(false);
|
||||
#endif
|
||||
|
||||
QApplication app(argc, argv);
|
||||
KAboutData aboutData(QStringLiteral("kdeconnect.daemon"),
|
||||
|
|
Loading…
Reference in a new issue