This commit is contained in:
Friedemann Kleint
2010-08-06 10:52:28 +02:00
parent 7e739985b2
commit 517d4f630d

View File

@@ -144,7 +144,7 @@ bool QmlRunControlFactory::canRun(RunConfiguration *runConfiguration,
if (mode == ProjectExplorer::Constants::RUNMODE) {
return config != 0;
} else {
return (config != 0) && Debugger::DebuggerUISwitcher::instance()->supportedLanguages().contains(Qml::Constants::LANG_QML);
return (config != 0) && Debugger::DebuggerUISwitcher::instance()->supportedLanguages().contains(QmlProjectManager::Constants::LANG_QML);
}
}