diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-04-13 11:25:38 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-04-13 09:39:47 +0000 |
commit | e8bff43f2494e99b2e88f0b6be7ff318c53610cc (patch) | |
tree | 3cb507676bae71cbde4c034026010f170c256631 /src/libs | |
parent | 54e96679fc18b60af235ec1c8d83df98ce6b12b0 (diff) | |
download | qt-creator-e8bff43f2494e99b2e88f0b6be7ff318c53610cc.tar.gz |
QmlDebug: A QML debug client is only enabled if the service is
Change-Id: I7d9360a46dfa7a73a791bbff91492a15e4f2f5de
Task-number: QTCREATORBUG-15806
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/qmldebug/qmldebugclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmldebug/qmldebugclient.cpp b/src/libs/qmldebug/qmldebugclient.cpp index a35fc0b305..aaf3de379f 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; |