diff options
author | Christiaan Janssen <christiaan.janssen@nokia.com> | 2012-05-11 17:19:15 +0200 |
---|---|---|
committer | Christiaan Janssen <christiaan.janssen@nokia.com> | 2012-05-11 17:27:01 +0200 |
commit | 84b4b52aedb09cf2924e5587b011be665541795f (patch) | |
tree | 71e4e277f0c6744c7aad57cd36e3c6a6102ffafc /src/plugins/qmlprofiler/qmlprofilerclientmanager.h | |
parent | bbbc08a6eadb13de9fadb3287f636256b2d802d8 (diff) |
QmlProfiler: manage premature disconnection when app killed
The profiler tool was assuming that the socket would get
disconnected after the application was stopped by the user.
Sometimes it is not the case. This patch manages the
oposite situation gracefully.
Change-Id: I4ae439bf2ce6caece37e97f735e980d18c446df0
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerclientmanager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h index 87f62c944c..a8f6c5ceb6 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h @@ -56,6 +56,7 @@ public: void clearBufferedData(); void discardPendingData(); + bool isConnected() const; signals: void connectionFailed(); |