forked from qt-creator/qt-creator
Fixed saving of code completion settings
Save settings instead of crashing. Sorry about that!
This commit is contained in:
@@ -87,7 +87,7 @@ bool CppToolsPlugin::initialize(const QStringList & /*arguments*/, QString *)
|
||||
// Objects
|
||||
m_modelManager = new CppModelManager(this);
|
||||
addAutoReleasedObject(m_modelManager);
|
||||
CppCodeCompletion *m_completion = new CppCodeCompletion(m_modelManager, m_core);
|
||||
m_completion = new CppCodeCompletion(m_modelManager, m_core);
|
||||
addAutoReleasedObject(m_completion);
|
||||
CppQuickOpenFilter *quickOpenFilter = new CppQuickOpenFilter(m_modelManager,
|
||||
m_core->editorManager());
|
||||
|
||||
Reference in New Issue
Block a user