Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginTabBase.cpp

Issue 5171515343503360: Issue #41 - Bring method of determining IE version up to date (Closed)
Patch Set: Final (?) 2 Created Jan. 5, 2015, 1:02 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginTabBase.cpp
===================================================================
--- a/src/plugin/PluginTabBase.cpp
+++ b/src/plugin/PluginTabBase.cpp
@@ -7,6 +7,7 @@
#include "PluginClass.h"
#include "PluginTabBase.h"
#include "PluginUtil.h"
+#include "../shared/IE_version.h"
#include <dispex.h>
#include <Mshtmhst.h>
@@ -24,7 +25,7 @@
m_filter->hideFiltersLoadedEvent = CreateEvent(NULL, true, false, NULL);
CPluginClient* client = CPluginClient::GetInstance();
- if (client->GetIEVersion() < 10)
+ if (AdblockPlus::IE::InstalledMajorVersion() < 10)
{
m_isActivated = true;
}

Powered by Google App Engine
This is Rietveld