forked from qt-creator/qt-creator
QmlObserver: Disable "Observer" mode when no debugging client is attached
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user