Commit 31a8b4cb authored by El Mehdi Fekari's avatar El Mehdi Fekari Committed by Mehdi Fekari
Browse files

Qnx: Use native separators when generating SSH keys



Task-number: QTCREATORBUG-9830

Change-Id: Icab0b46b5e35439e4e6f98f244e8aaa0cc559af0
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent ee9c901b
......@@ -219,7 +219,7 @@ void BlackBerryDeviceConfigurationWizardSshKeyPage::findMatchingPublicKey(const
{
const QString candidate = privateKeyPath + QLatin1String(".pub");
if (QFileInfo(candidate).exists())
m_ui->publicKey->setText(candidate);
m_ui->publicKey->setText(QDir::toNativeSeparators(candidate));
else
m_ui->publicKey->clear();
}
......@@ -239,7 +239,7 @@ void BlackBerryDeviceConfigurationWizardSshKeyPage::processSshKeys(bool success)
return;
m_ui->privateKey->setFileName(Utils::FileName::fromString(m_generatedPrivateKeyPath));
m_ui->publicKey->setText(publicKeyPath);
m_ui->publicKey->setText(QDir::toNativeSeparators(publicKeyPath));
emit completeChanged();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment