summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Naetterlund <tobias.naetterlund.qnx@kdab.com>2014-01-24 06:23:32 +0100
committerTobias Nätterlund <tobias.naetterlund@kdab.com>2014-01-24 08:50:04 +0100
commitb4a5c2322804c988135ebb93259b84063551f020 (patch)
tree1aa28e8561da15fbabcd9e75ee4d2c6ed248ff39
parent12fcdd8a6f1300bf5fa272890df881529c77d9c5 (diff)
downloadqt-creator-b4a5c2322804c988135ebb93259b84063551f020.tar.gz
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>
-rw-r--r--src/plugins/qnx/qnxdeviceconfigurationwizard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qnx/qnxdeviceconfigurationwizard.cpp b/src/plugins/qnx/qnxdeviceconfigurationwizard.cpp
index e7cd6505f8..e052237371 100644
--- a/src/plugins/qnx/qnxdeviceconfigurationwizard.cpp
+++ b/src/plugins/qnx/qnxdeviceconfigurationwizard.cpp
@@ -65,7 +65,8 @@ IDevice::Ptr QnxDeviceConfigurationWizard::device()
sshParams.port = 22;
sshParams.timeout = 10;
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();
else
sshParams.privateKeyFile = m_setupPage->privateKeyFilePath();