diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-26 17:22:10 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-12-02 09:24:34 +0000 |
commit | a841dcebfc6c26ea8800d9dde8ff00fc8245cfad (patch) | |
tree | 197950f5cd86714f785f24ed697dd8cb25933dba /src/plugins/cpptools/cpptoolstestcase.cpp | |
parent | d5b8b9c951c02a57493b3d2db7ae7c79213b0366 (diff) | |
download | qt-creator-a841dcebfc6c26ea8800d9dde8ff00fc8245cfad.tar.gz |
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/cpptools/cpptoolstestcase.cpp')
0 files changed, 0 insertions, 0 deletions