diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2013-08-28 17:45:22 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2013-08-28 17:45:52 +0400 |
commit | 18a58f73de4f566ae65e6ba20586364419696f45 (patch) | |
tree | ae95f2bef2d72733d8d4d82703e626fd0cd71231 | |
parent | d1451a3c90c6255212f2a865e43a6a015618f62e (diff) |
Startup: Unity has no proper Systray implementationv1.4.0-rc1
...so it can't respond to isSysTrayAvailable()
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index a1ee1d6ec..7decca57a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,7 +39,7 @@ int main(int argc, char **argv) } return 0; } else { - if (!QSystemTrayIcon::isSystemTrayAvailable()) { + if (!QSystemTrayIcon::isSystemTrayAvailable() && qgetenv("DESKTOP_SESSION") != "ubuntu") { QMessageBox::critical(0, qApp->translate("main.cpp", "System Tray not available"), qApp->translate("main.cpp", "%1 requires on a working system tray. " "If you are running XFCE, please follow " |