forked from qt-creator/qt-creator
Fix single-character strings in QNX-plugin.
Change-Id: I5a4780fe4fcd285df9f8cbae712e12bff2d2bdda Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -254,7 +254,7 @@ bool BlackBerryDeviceConfigurationWizardSshKeyPage::saveKeys(const QString &priv
|
||||
Utils::FileSaver pubSaver(publicKeyFile);
|
||||
|
||||
// blackberry-connect requires an @ character to be included in the RSA comment
|
||||
const QString atHost = QLatin1String("@") + QHostInfo::localHostName();
|
||||
const QString atHost = QLatin1Char('@') + QHostInfo::localHostName();
|
||||
QByteArray pubKeyContent = m_sshKeysGenerator->keyGenerator()->publicKey();
|
||||
pubKeyContent.append(atHost.toLocal8Bit());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user