OSDN Git Service

SSH: Don't allow connectToHost() while already connecting/connected.
authorChristian Kandeler <christian.kandeler@nokia.com>
Tue, 5 Jul 2011 16:01:58 +0000 (18:01 +0200)
committerChristian Kandeler <christian.kandeler@nokia.com>
Wed, 6 Jul 2011 11:09:05 +0000 (13:09 +0200)
commitee635dcf9e865c7bc405b81b09f0df5245c4b32a
tree34a66714a67ba82a115e5c9cde2eb49e2ead112a
parent7ecf1e75d42e981a9f98e59742188ff6f712c024
SSH: Don't allow connectToHost() while already connecting/connected.

Also fix callers potentially violating this policy.

Change-Id: I630f1c544885df93a81e217e792363c0c2314108
Reviewed-on: http://codereview.qt.nokia.com/1186
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
src/libs/utils/ssh/sshconnection.cpp
src/libs/utils/ssh/sshremoteprocessrunner.cpp
src/plugins/debugger/gdb/remotegdbprocess.cpp
src/plugins/remotelinux/abstractmaemodeploystep.cpp
src/plugins/remotelinux/remotelinuxapplicationrunner.cpp
src/plugins/valgrind/valgrind/valgrindprocess.cpp