summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-01-14 13:56:22 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-14 13:56:22 +0100
commit0567f669c2b4afa11c1797f01924c9ed91da662a (patch)
tree90dbefefca3cb59bf604f0067250c4be3022641c /src
parentAllow more font sizes to be selected (diff)
downloadnheko-0567f669c2b4afa11c1797f01924c9ed91da662a.tar.xz
Don't start in tray, if only minimize to tray is enabled
fixes #375
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp

index 7a417ae2..a0b72be7 100644 --- a/src/main.cpp +++ b/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]() {