Skip to content
Permalink
Browse files

Enable bHideInTray only on Windows versions below 7.

Fixes #1815
  • Loading branch information...
mkrautz committed Sep 20, 2015
1 parent 263607f commit 612d6b52992735ec7eddd5f0c77ad91f493c1ee2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mumble/Settings.cpp
@@ -309,7 +309,7 @@ Settings::Settings() {
#ifdef Q_OS_WIN
// Don't enable minimize to tray by default on Windows >= 7
const QSysInfo::WinVersion winVer = QSysInfo::windowsVersion();
bHideInTray = (winVer != QSysInfo::WV_WINDOWS7 && winVer != QSysInfo::WV_WINDOWS8 && winVer != QSysInfo::WV_WINDOWS8_1);
bHideInTray = (winVer < QSysInfo::WV_WINDOWS7);
#else
const bool isUnityDesktop = QProcessEnvironment::systemEnvironment().value(QLatin1String("XDG_CURRENT_DESKTOP")) == QLatin1String("Unity");
bHideInTray = !isUnityDesktop;

0 comments on commit 612d6b5

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