summaryrefslogtreecommitdiffhomepage
path: root/gui/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-16 22:29:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-16 22:29:33 +0200
commit5334c76b834cf7effa21849fff1b0c57cdedb62a (patch)
tree3075144929485759be92a1f65f56675bf4deeb86 /gui/main.cpp
parent7586930b5388d4debf9d2b463aa8275a56690afb (diff)
gui, logic: add separate option for starting in tray vs tray enabled
Suggested-by: @MathijsG, #454
Diffstat (limited to 'gui/main.cpp')
-rw-r--r--gui/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index 47999212..763f1cb5 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -144,7 +144,7 @@ main(int argc, char** argv)
if (!w->isEnabled())
break;
- if (!w->is_tray_enabled())
+ if (!w->start_in_tray())
{
w->setVisible(true);
w->show();