Skip to content
Snippets Groups Projects
Commit ee8ea6df authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

removed old & invalid code for switching to debug mode

parent d07f4ad8
No related branches found
No related tags found
No related merge requests found
...@@ -114,11 +114,6 @@ void QmlRunControl::slotError(const QString &err, bool isError) ...@@ -114,11 +114,6 @@ void QmlRunControl::slotError(const QString &err, bool isError)
void QmlRunControl::slotAddToOutputWindow(const QString &line, bool onStdErr) void QmlRunControl::slotAddToOutputWindow(const QString &line, bool onStdErr)
{ {
if (runMode() == ProjectExplorer::Constants::DEBUGMODE && line.startsWith("QDeclarativeDebugServer: Waiting for connection")) {
Core::ICore *core = Core::ICore::instance();
core->modeManager()->activateMode(Debugger::Constants::MODE_DEBUG);
}
emit addToOutputWindowInline(this, line, onStdErr); emit addToOutputWindowInline(this, line, onStdErr);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment