From dc0b30bba144e56eceb60b4615466a254f587fd3 Mon Sep 17 00:00:00 2001 From: codestation Date: Sat, 19 Apr 2014 23:41:51 -0430 Subject: [PATCH] Enable systray by default. --- src/gui/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index ac77830..568512f 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -110,7 +110,7 @@ int main(int argc, char *argv[]) //TODO: check if this is actually needed since we don't have a main window by default QApplication::setQuitOnLastWindowClosed(false); - bool showSystray = app.arguments().contains("--no-systray"); + bool showSystray = !app.arguments().contains("--no-systray"); MainWidget widget; widget.prepareApplication(showSystray);