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