diff options
Diffstat (limited to 'src/declarative/debugger/qmldebugclient.cpp')
-rw-r--r-- | src/declarative/debugger/qmldebugclient.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/debugger/qmldebugclient.cpp b/src/declarative/debugger/qmldebugclient.cpp index 4888758..2cd1301 100644 --- a/src/declarative/debugger/qmldebugclient.cpp +++ b/src/declarative/debugger/qmldebugclient.cpp @@ -178,6 +178,8 @@ bool QmlDebugClient::isConnected() const { Q_D(const QmlDebugClient); + if (!d->client) + return false; return d->client->isConnected(); } |