forked from qt-creator/qt-creator
Compile
This commit is contained in:
@@ -144,7 +144,7 @@ bool QmlRunControlFactory::canRun(RunConfiguration *runConfiguration,
|
|||||||
if (mode == ProjectExplorer::Constants::RUNMODE) {
|
if (mode == ProjectExplorer::Constants::RUNMODE) {
|
||||||
return config != 0;
|
return config != 0;
|
||||||
} else {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user