forked from qt-creator/qt-creator
JsExpander: Do not crash on exit
Change-Id: I55caca6dd5b316b2573b443175448d732101871c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -146,7 +146,7 @@ bool CppToolsPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
modelManager->updateSourceFiles(files.toSet());
|
||||
});
|
||||
|
||||
JsExpander::registerQObjectForJs(QLatin1String("Cpp"), new CppToolsJsExtension(this));
|
||||
JsExpander::registerQObjectForJs(QLatin1String("Cpp"), new CppToolsJsExtension);
|
||||
|
||||
CppLocatorData *locatorData = new CppLocatorData;
|
||||
connect(modelManager, SIGNAL(documentUpdated(CPlusPlus::Document::Ptr)),
|
||||
|
||||
Reference in New Issue
Block a user