Index: src/plugin/PluginClass.cpp |
=================================================================== |
--- a/src/plugin/PluginClass.cpp |
+++ b/src/plugin/PluginClass.cpp |
@@ -15,6 +15,7 @@ |
#include "PluginUserSettings.h" |
#include "../shared/Utils.h" |
#include "../shared/Dictionary.h" |
+#include "../shared/IE_version.h" |
#include <thread> |
#ifdef DEBUG_HIDE_EL |
@@ -684,7 +685,7 @@ |
} |
else |
{ |
- if (CPluginClient::GetInstance()->GetIEVersion() > 6) |
+ if (AdblockPlus::IE::InstalledMajorVersion() > 6) |
{ |
RECT rect; |
BOOL rectRes = GetClientRect(m_hStatusBarWnd, &rect); |
@@ -843,8 +844,7 @@ |
} |
} |
- |
- int ieVersion = CPluginClient::GetInstance()->GetIEVersion(); |
+ int ieVersion = AdblockPlus::IE::InstalledMajorVersion(); |
// Create status pane |
if (bBHO && ieVersion > 6 && !CreateStatusBarPane()) |
{ |