QmlJSDebug: Don't show the debugger log on each exit

When closing the app via the WM the status of the services change
to 'not available'. We used to log this as an error to the debugger
log, causing the log to 'magically' pop up.

Reviewed-by: Christiaan Janssen
This commit is contained in:
Kai Koehne
2011-02-09 14:38:20 +01:00
parent 1162f1ebca
commit ede49086c0

View File

@@ -290,7 +290,7 @@ void QmlAdapter::logServiceStatusChange(const QString &service, QDeclarativeDebu
{
switch (newStatus) {
case QDeclarativeDebugClient::Unavailable: {
showConnectionErrorMessage(tr("Debug service '%1' became unavailable.").arg(service));
showConnectionStatusMessage(tr("Debug service '%1' became unavailable.").arg(service));
emit serviceConnectionError(service);
break;
}