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:
Tobias Naetterlund
2014-01-24 06:23:32 +01:00
committed by Tobias Nätterlund
parent 12fcdd8a6f
commit b4a5c23228

View File

@@ -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();