Skip to content
Permalink
Browse files

Special case the Unity desktop to also default to not minimize to tray

  • Loading branch information...
hacst committed Sep 20, 2014
1 parent 694dca8 commit 916dcc0c47d6f25b5a485084f8397ed000e74ad1
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/mumble/Settings.cpp
@@ -317,7 +317,8 @@ Settings::Settings() {
const QSysInfo::WinVersion winVer = QSysInfo::windowsVersion();
bHideInTray = (winVer != QSysInfo::WV_WINDOWS7 && winVer != QSysInfo::WV_WINDOWS8 && winVer != QSysInfo::WV_WINDOWS8_1);
#else
bHideInTray = true;
const bool isUnityDesktop = QProcessEnvironment::systemEnvironment().value(QLatin1String("XDG_CURRENT_DESKTOP")) == QLatin1String("Unity");
bHideInTray = !isUnityDesktop;
#endif
bStateInTray = true;
bUsage = true;

0 comments on commit 916dcc0

Please sign in to comment.
You can’t perform that action at this time.