Просмотр исходного кода

Startup: Unity has no proper Systray implementation

...so it can't respond to isSysTrayAvailable()
Daniel Molkentin 12 лет назад
Родитель
Сommit
18a58f73de
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main.cpp

+ 1 - 1
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 "