mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Startup: Unity has no proper Systray implementation
...so it can't respond to isSysTrayAvailable()
This commit is contained in:
parent
d1451a3c90
commit
18a58f73de
1 changed files with 1 additions and 1 deletions
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue