removed old & invalid code for switching to debug mode

This commit is contained in:
Lasse Holmstedt
2010-09-02 17:44:53 +02:00
parent d07f4ad804
commit ee8ea6dfdb

View File

@@ -114,11 +114,6 @@ void QmlRunControl::slotError(const QString &err, bool isError)
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);
}