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()));
|
.arg(sshBinary.toUserOutput()));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!d->sharingEnabled)
|
if (!d->sharingEnabled) {
|
||||||
emitConnected();
|
emitConnected();
|
||||||
|
return;
|
||||||
|
}
|
||||||
d->masterSocketDir.reset(new QTemporaryDir);
|
d->masterSocketDir.reset(new QTemporaryDir);
|
||||||
if (!d->masterSocketDir->isValid()) {
|
if (!d->masterSocketDir->isValid()) {
|
||||||
emitError(tr("Cannot establish SSH connection: Failed to create temporary "
|
emitError(tr("Cannot establish SSH connection: Failed to create temporary "
|
||||||
|
Reference in New Issue
Block a user