forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.7'
Conflicts: doc/src/debugger/qtquick-debugger-example.qdoc Change-Id: If9a6ac2db76773c50aae26c5156e6aa2603329b3
This commit is contained in:
@@ -240,6 +240,11 @@ CppToolsSettings::~CppToolsSettings()
|
||||
{
|
||||
ExtensionSystem::PluginManager::removeObject(d->m_completionSettingsPage);
|
||||
|
||||
TextEditor::TextEditorSettings *textEditorSettings = TextEditor::TextEditorSettings::instance();
|
||||
textEditorSettings->unregisterCodeStyle(Constants::CPP_SETTINGS_ID);
|
||||
textEditorSettings->unregisterCodeStylePool(Constants::CPP_SETTINGS_ID);
|
||||
textEditorSettings->unregisterCodeStyleFactory(Constants::CPP_SETTINGS_ID);
|
||||
|
||||
delete d;
|
||||
|
||||
m_instance = 0;
|
||||
|
||||
Reference in New Issue
Block a user