summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolstestcase.cpp
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/cpptools/cpptoolstestcase.cpp
parentd5b8b9c951c02a57493b3d2db7ae7c79213b0366 (diff)
downloadqt-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