Skip to content
Permalink
Browse files

Fix hide in tray default value for Windows 8.1

Fixes #1126
  • Loading branch information...
hacst committed Sep 19, 2014
1 parent 8ad8812 commit edaca2ea2069fa3533f94238f9d71115d9271a90
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mumble/Settings.cpp
@@ -313,9 +313,9 @@ Settings::Settings() {
aotbAlwaysOnTop = OnTopNever;
bAskOnQuit = true;
#ifdef Q_OS_WIN
// Don't enable minimize to tray by default on Windows 7 or Windows 8
// 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);
bHideInTray = (winVer != QSysInfo::WV_WINDOWS7 && winVer != QSysInfo::WV_WINDOWS8 && winVer != QSysInfo::WV_WINDOWS8_1);
#else
bHideInTray = true;
#endif

0 comments on commit edaca2e

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