Skip to content

Commit

Permalink
Fix false shutdown denial caused by fallback session manager
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Oct 19, 2021
1 parent e2892d2 commit 014718a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ int main(int argc,
// Prepare DspConfig based on cmdline argument
DspConfig::instance(parser.isSet(watch));

QApplication::setQuitOnLastWindowClosed(false);
QApplication::setFallbackSessionManagementEnabled(false);
QApplication::setQuitOnLastWindowClosed(false);
MainWindow w(QString::fromLocal8Bit(exepath), parser.isSet(tray), parser.isSet(minst));

//w.setFixedSize(w.geometry().width(), w.geometry().height());
Expand Down

0 comments on commit 014718a

Please sign in to comment.