forked from qt-creator/qt-creator
SSH: Add missing return statement
Change-Id: Ic109b0b5a022ea462532fbf21736ee7124168608 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -348,8 +348,10 @@ void SshConnection::doConnectToHost()
|
||||
.arg(sshBinary.toUserOutput()));
|
||||
return;
|
||||
}
|
||||
if (!d->sharingEnabled)
|
||||
if (!d->sharingEnabled) {
|
||||
emitConnected();
|
||||
return;
|
||||
}
|
||||
d->masterSocketDir.reset(new QTemporaryDir);
|
||||
if (!d->masterSocketDir->isValid()) {
|
||||
emitError(tr("Cannot establish SSH connection: Failed to create temporary "
|
||||
|
Reference in New Issue
Block a user