Index: src/plugin/PluginClass.cpp |
=================================================================== |
--- a/src/plugin/PluginClass.cpp |
+++ b/src/plugin/PluginClass.cpp |
@@ -1125,7 +1125,6 @@ |
} |
case ID_MENU_DISABLE_ON_SITE: |
{ |
- CPluginSettings* settings = CPluginSettings::GetInstance(); |
std::wstring urlString = GetTab()->GetDocumentUrl(); |
std::string filterText = client->GetWhitelistingFilter(urlString); |
if (!filterText.empty()) |
@@ -1134,7 +1133,7 @@ |
} |
else |
{ |
- settings->AddWhiteListedDomain(ToCString(client->GetHostFromUrl(urlString))); |
+ CPluginSettings::GetInstance()->AddWhiteListedDomain(client->GetHostFromUrl(urlString)); |
} |
} |
default: |