QmlDebugger: Enable basic debugging without QmlInspector plugin

Enable setting breakpoints, and showing the script console even if
the QmlInspector plugin is not loaded.

Reviewed-by: hjk
This commit is contained in:
Kai Koehne
2010-09-22 14:16:29 +02:00
parent 4fdede8b28
commit 3e9f333769
5 changed files with 4 additions and 7 deletions

View File

@@ -105,11 +105,6 @@ bool InspectorPlugin::initialize(const QStringList &arguments, QString *errorStr
Q_UNUSED(arguments);
Q_UNUSED(errorString);
ExtensionSystem::PluginManager *pluginManager = ExtensionSystem::PluginManager::instance();
Debugger::DebuggerUISwitcher *uiSwitcher = pluginManager->getObject<Debugger::DebuggerUISwitcher>();
uiSwitcher->addLanguage(Debugger::QmlLanguage, tr("QML"), Core::Context(C_INSPECTOR));
return true;
}