forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -93,8 +93,6 @@ private:
|
||||
class QmlProfilerClientManagerPrivate;
|
||||
QmlProfilerClientManagerPrivate *d;
|
||||
|
||||
void connectToClient();
|
||||
|
||||
void createConnection();
|
||||
void connectClientSignals();
|
||||
void disconnectClientSignals();
|
||||
|
||||
Reference in New Issue
Block a user