forked from qt-creator/qt-creator
SshConnectionManager: s/break/continue
Probably just a thinko in the original code. Change-Id: Ie089737a3501c5aede9a2234c10e4f1c1611d952 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -90,10 +90,10 @@ public:
|
||||
continue;
|
||||
|
||||
if (connection->thread() != QThread::currentThread())
|
||||
break;
|
||||
continue;
|
||||
|
||||
if (m_deprecatedConnections.contains(connection)) // we were asked to no longer use this one...
|
||||
break;
|
||||
continue;
|
||||
|
||||
m_acquiredConnections.append(connection);
|
||||
return connection;
|
||||
|
||||
Reference in New Issue
Block a user