Skip to content

Commit 014718a

Browse files
committed
Fix false shutdown denial caused by fallback session manager
1 parent e2892d2 commit 014718a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ int main(int argc,
8989
// Prepare DspConfig based on cmdline argument
9090
DspConfig::instance(parser.isSet(watch));
9191

92-
QApplication::setQuitOnLastWindowClosed(false);
92+
QApplication::setFallbackSessionManagementEnabled(false);
93+
QApplication::setQuitOnLastWindowClosed(false);
9394
MainWindow w(QString::fromLocal8Bit(exepath), parser.isSet(tray), parser.isSet(minst));
9495

9596
//w.setFixedSize(w.geometry().width(), w.geometry().height());

0 commit comments

Comments
 (0)