forked from qt-creator/qt-creator
TextEditor: Do not try to remove settings pages from global object pool
They are not present there anymore.
This amends 928dd20101.
Change-Id: I383511dfc7c8da9a6c594e44a4ec697a2057ef9c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -377,13 +377,6 @@ TextEditorSettings::TextEditorSettings()
|
||||
|
||||
TextEditorSettings::~TextEditorSettings()
|
||||
{
|
||||
ExtensionSystem::PluginManager::removeObject(d->m_fontSettingsPage);
|
||||
ExtensionSystem::PluginManager::removeObject(d->m_behaviorSettingsPage);
|
||||
ExtensionSystem::PluginManager::removeObject(d->m_displaySettingsPage);
|
||||
ExtensionSystem::PluginManager::removeObject(d->m_highlighterSettingsPage);
|
||||
ExtensionSystem::PluginManager::removeObject(d->m_snippetsSettingsPage);
|
||||
ExtensionSystem::PluginManager::removeObject(d->m_completionSettingsPage);
|
||||
|
||||
delete d;
|
||||
|
||||
m_instance = 0;
|
||||
|
||||
Reference in New Issue
Block a user