diff options
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 5 | ||||
-rw-r--r-- | src/plugins/debugger/debuggerplugin.h | 1 | ||||
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 334e7b334d..4fa1a67cd7 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -3459,11 +3459,6 @@ void DebuggerPlugin::extensionsInitialized() theDebuggerCore->extensionsInitialized(); } -bool DebuggerPlugin::isActiveDebugLanguage(int language) -{ - return theDebuggerCore->isActiveDebugLanguage(language); -} - DebuggerMainWindow *DebuggerPlugin::mainWindow() { return theDebuggerCore->m_mainWindow; diff --git a/src/plugins/debugger/debuggerplugin.h b/src/plugins/debugger/debuggerplugin.h index e00a40304a..1c461c8b76 100644 --- a/src/plugins/debugger/debuggerplugin.h +++ b/src/plugins/debugger/debuggerplugin.h @@ -60,7 +60,6 @@ public: //static void startDebugger(ProjectExplorer::RunControl *runControl); // Used by QmlJSInspector. - static bool isActiveDebugLanguage(int language); static DebuggerMainWindow *mainWindow(); static QAction *visibleDebugAction(); diff --git a/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp b/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp index f54e185c62..a6e555d882 100644 --- a/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp +++ b/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp @@ -153,9 +153,6 @@ bool QmlProjectRunControlFactory::canRun(RunConfiguration *runConfiguration, if (mode != DebugRunMode) return false; - if (!Debugger::DebuggerPlugin::isActiveDebugLanguage(Debugger::QmlLanguage)) - return false; - if (!config->observerPath().isEmpty()) return true; if (!config->qtVersion()) |