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

fixes #375
This commit is contained in:
Nicolas Werner 2021-01-14 13:56:22 +01:00
parent 024ffde08d
commit 0567f669c2
1 changed files with 1 additions and 1 deletions

View File

@ -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]() {