QmlDebug: Fix debugging for mixed projects on MinGW

We've so far missed the 'QDeclarativeDebug: ' messages, because they
were arriving on an unexpected channel.

Task-number: QTCREATORBUG-4630
Reviewed-by: Friedemann Kleint
This commit is contained in:
Kai Koehne
2011-04-20 15:52:44 +02:00
committed by con
parent 0c1c7e1af0
commit 565c42a30e

View File

@@ -665,7 +665,7 @@ void QmlCppEngine::handleRemoteSetupFailed(const QString &message)
void QmlCppEngine::showMessage(const QString &msg, int channel, int timeout) const
{
if (channel == AppOutput || channel == AppError) {
if (channel == AppOutput || channel == AppError || channel == AppStuff) {
// message is from CppEngine, allow qml engine to process
d->m_qmlEngine->filterApplicationMessage(msg, channel);
}