debugger: fix qml output channeling

This commit is contained in:
hjk
2011-01-07 18:04:38 +01:00
parent a7eccce733
commit b4d6a5ba2a
2 changed files with 7 additions and 13 deletions

View File

@@ -198,10 +198,8 @@ void QmlEngine::setupInferior()
} else {
connect(&d->m_applicationLauncher, SIGNAL(processExited(int)),
SLOT(disconnected()));
connect(&d->m_applicationLauncher, SIGNAL(appendMessage(QString,bool)),
SLOT(appendMessage(QString,bool)));
connect(&d->m_applicationLauncher, SIGNAL(appendOutput(QString,bool)),
SLOT(appendOutput(QString,bool)));
connect(&d->m_applicationLauncher, SIGNAL(appendMessage(QString,ProjectExplorer::OutputFormat)),
SLOT(appendMessage(QString,ProjectExplorer::OutputFormat)));
connect(&d->m_applicationLauncher, SIGNAL(bringToForegroundRequested(qint64)),
runControl(), SLOT(bringApplicationToForeground(qint64)));
@@ -212,14 +210,9 @@ void QmlEngine::setupInferior()
}
}
void QmlEngine::appendMessage(const QString &msg, bool)
void QmlEngine::appendMessage(const QString &msg, ProjectExplorer::OutputFormat format)
{
showMessage(msg, AppStuff);
}
void QmlEngine::appendOutput(const QString &msg, bool)
{
showMessage(msg, AppOutput);
showMessage(msg, AppStuff); // FIXME: Redirect to RunControl
}
void QmlEngine::connectionEstablished()