forked from qt-creator/qt-creator
QNX: Fixed password not being saved when using devize wizard
Task-number: QTCREATORBUG-11092 Change-Id: I150218ec3dabde35e5d3e0ba95916d47743786c2 Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
This commit is contained in:
committed by
Tobias Nätterlund
parent
12fcdd8a6f
commit
b4a5c23228
@@ -65,7 +65,8 @@ IDevice::Ptr QnxDeviceConfigurationWizard::device()
|
|||||||
sshParams.port = 22;
|
sshParams.port = 22;
|
||||||
sshParams.timeout = 10;
|
sshParams.timeout = 10;
|
||||||
sshParams.authenticationType = m_setupPage->authenticationType();
|
sshParams.authenticationType = m_setupPage->authenticationType();
|
||||||
if (sshParams.authenticationType == QSsh::SshConnectionParameters::AuthenticationTypePassword)
|
if (sshParams.authenticationType == QSsh::SshConnectionParameters::AuthenticationTypeTryAllPasswordBasedMethods
|
||||||
|
|| sshParams.authenticationType == QSsh::SshConnectionParameters::AuthenticationTypePassword)
|
||||||
sshParams.password = m_setupPage->password();
|
sshParams.password = m_setupPage->password();
|
||||||
else
|
else
|
||||||
sshParams.privateKeyFile = m_setupPage->privateKeyFilePath();
|
sshParams.privateKeyFile = m_setupPage->privateKeyFilePath();
|
||||||
|
Reference in New Issue
Block a user