Don't start in tray, if only minimize to tray is enabled

fixes #375
pull/377/head
Nicolas Werner 4 years ago
parent 024ffde08d
commit 0567f669c2
  1. 2
      src/main.cpp

@ -239,7 +239,7 @@ main(int argc, char *argv[])
// Move the MainWindow to the center
w.move(screenCenter(w.width(), w.height()));
if (!settings.lock()->startInTray() && !settings.lock()->tray())
if (!(settings.lock()->startInTray() && settings.lock()->tray()))
w.show();
QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() {

Loading…
Cancel
Save