Skip to content
Snippets Groups Projects
Commit 0567f669 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

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

fixes #375
parent 024ffde0
No related branches found
No related tags found
No related merge requests found
Pipeline #342 passed
...@@ -239,7 +239,7 @@ main(int argc, char *argv[]) ...@@ -239,7 +239,7 @@ main(int argc, char *argv[])
// Move the MainWindow to the center // Move the MainWindow to the center
w.move(screenCenter(w.width(), w.height())); w.move(screenCenter(w.width(), w.height()));
if (!settings.lock()->startInTray() && !settings.lock()->tray()) if (!(settings.lock()->startInTray() && settings.lock()->tray()))
w.show(); w.show();
QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() { QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment