diff --git a/src/libs/qmldebug/qmldebugclient.cpp b/src/libs/qmldebug/qmldebugclient.cpp index a35fc0b3052..aaf3de379f3 100644 --- a/src/libs/qmldebug/qmldebugclient.cpp +++ b/src/libs/qmldebug/qmldebugclient.cpp @@ -490,7 +490,7 @@ QmlDebugClient::State QmlDebugClient::state() const if (!d->connection || !d->connection->isConnected()) return NotConnected; - if (d->connection->client(d->name) == this) + if (d->connection->serviceVersion(d->name) != -1) return Enabled; return Unavailable;