summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/globals.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-11 19:53:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-11 19:53:19 +0300
commitc3d846f6cb7f8013d9ff95b302f16742b6e18790 (patch)
treefe0a96f76a7fcd9d8835c5f268d42ac74d7f69a0 /plugins/TabSRMM/src/globals.cpp
parent57c5323947808f0d71da342b9950d2632f7c851a (diff)
fixes #1181 (TabSRMM: bug with event handling)
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r--plugins/TabSRMM/src/globals.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp
index 7da147b615..ca23d4f1ed 100644
--- a/plugins/TabSRMM/src/globals.cpp
+++ b/plugins/TabSRMM/src/globals.cpp
@@ -580,17 +580,3 @@ void CGlobals::logStatusChange(WPARAM wParam, const CContactCache *c)
dbei.szModule = (char*)c->getProto();
dat->StreamInEvents(0, 1, 1, &dbei);
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// on Windows 7, when using new task bar features (grouping mode and per tab
-// previews), autoswitching does not work relieably, so it is disabled.
-//
-// @return: true if configuration dictates autoswitch
-
-bool CGlobals::haveAutoSwitch()
-{
- if (m_bIsWin7 && m_useAeroPeek && !CSkin::m_skinEnabled)
- return false;
-
- return m_bAutoSwitchTabs;
-}