diff options
-rw-r--r-- | src/plugins/coreplugin/locator/locator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/locator/locator.cpp b/src/plugins/coreplugin/locator/locator.cpp index 6a4f530f3c..145995fdda 100644 --- a/src/plugins/coreplugin/locator/locator.cpp +++ b/src/plugins/coreplugin/locator/locator.cpp @@ -76,7 +76,9 @@ Locator::Locator() Locator::~Locator() { +#ifdef WITH_JAVASCRIPTFILTER m_corePlugin->removeObject(m_javaScriptFilter); +#endif m_corePlugin->removeObject(m_openDocumentsFilter); m_corePlugin->removeObject(m_fileSystemFilter); m_corePlugin->removeObject(m_executeFilter); |