QmlObserver: Disable "Observer" mode when no debugging client is attached

This commit is contained in:
Kai Koehne
2010-09-02 14:40:13 +02:00
parent 580fbb1ae5
commit ba82227ae8
3 changed files with 11 additions and 0 deletions

View File

@@ -58,6 +58,11 @@ QDeclarativeDesignDebugServer *QDeclarativeDesignDebugServer::instance()
return qmlDesignDebugServer();
}
void QDeclarativeDesignDebugServer::enabledChanged(bool enabled)
{
emit debuggingClientChanged(enabled);
}
void QDeclarativeDesignDebugServer::messageReceived(const QByteArray &message)
{
QDataStream ds(message);