aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-26 17:22:10 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-12-02 09:24:34 +0000
commita841dcebfc6c26ea8800d9dde8ff00fc8245cfad (patch)
tree197950f5cd86714f785f24ed697dd8cb25933dba /src/plugins/qmlprofiler/qmlprofilerclientmanager.h
parentd5b8b9c951c02a57493b3d2db7ae7c79213b0366 (diff)
QmlProfiler: Deobfuscate connection mechanism
Whenever we create the connection we as well try connectToHost() immediately instead of deferring it until the next timeout. The else branch in tryToConnect() would never be executed because if the connection is there and not connecting or connected, then the socketState must be != ConnectedState. Change-Id: I6736b35348671961fbb3a48edb5e9c6c1d7ce915 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerclientmanager.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
index 2d11ffdb9d..dfeb446ae3 100644
--- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
+++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
@@ -93,8 +93,6 @@ private:
class QmlProfilerClientManagerPrivate;
QmlProfilerClientManagerPrivate *d;
- void connectToClient();
-
void createConnection();
void connectClientSignals();
void disconnectClientSignals();