2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

fixed two crashes, enabled not qt tray icon in pantheon env

This commit is contained in:
John Preston
2015-07-24 10:37:17 +02:00
parent f0c580db2d
commit 5fe1b7b51f
3 changed files with 4 additions and 2 deletions

View File

@@ -356,7 +356,7 @@ namespace {
inited = true;
QString cdesktop = QString(getenv("XDG_CURRENT_DESKTOP")).toLower();
noQtTrayIcon = false;//(cdesktop == qstr("pantheon")) || (cdesktop == qstr("gnome"));
noQtTrayIcon = (cdesktop == qstr("pantheon"));// || (cdesktop == qstr("gnome"));
noTryUnity = (cdesktop != qstr("unity"));
if (noQtTrayIcon) cSetSupportTray(false);