Observe the QML/JS model manager.

This commit is contained in:
Roberto Raggi
2010-06-29 16:15:49 +02:00
parent 18109b9cd1
commit f31d299d51
3 changed files with 23 additions and 0 deletions

View File

@@ -174,6 +174,12 @@ void InspectorPlugin::extensionsInitialized()
configBarLayout->addStretch();
uiSwitcher->setToolbar(LANG_QML, configBar);
if (QmlJS::ModelManagerInterface *m = InspectorPlugin::instance()->modelManager()) {
connect(m, SIGNAL(documentUpdated(QmlJS::Document::Ptr)),
_inspector, SLOT(documentUpdated(QmlJS::Document::Ptr)));
}
}
void InspectorPlugin::activateDebuggerForProject(ProjectExplorer::Project *project, const QString &runMode)