diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-07-15 13:09:38 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-07-18 12:01:12 +0000 |
commit | ba9825625d3340dba1e17efb4629b65bb575df3e (patch) | |
tree | 5e6e322cd8296f57a7ae4cfe81b2104a99243116 /src/plugins/qmlprofiler/qmlprofilerclientmanager.h | |
parent | 60bc2ccc956f84c0c9d1a5d610da98f05ff279a0 (diff) |
QmlDebug: Decouple log messages from connection failures
A socket error is not the only possible reason for a connection failure
and exposing socket error codes to the upper layers is unnecessary.
Change-Id: I27e9f21160ecea5b0d811b83b7ab0ab9071cacff
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerclientmanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h index 1b4b71ed2c..c4a478d9c7 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h @@ -72,8 +72,8 @@ private slots: void tryToConnect(); void qmlDebugConnectionOpened(); void qmlDebugConnectionClosed(); - void qmlDebugConnectionError(QAbstractSocket::SocketError error); - void qmlDebugConnectionStateChanged(QAbstractSocket::SocketState state); + void qmlDebugConnectionFailed(); + void logState(const QString &); void qmlComplete(qint64 maximumTime); |