Utils: Compile with QT_NO_CAST_FROM_ASCII.

Change-Id: I5cd5607fcd3311915217a1615b948587ef808cfa
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint
2012-01-04 17:34:08 +01:00
parent 5a31b0067d
commit ac54974b32
20 changed files with 48 additions and 45 deletions

View File

@@ -84,7 +84,7 @@ bool SshKeyGenerator::generateKeys(KeyType type, PrivateKeyFormat format, int ke
}
return true;
} catch (Botan::Exception &e) {
m_error = tr("Error generating key: %1").arg(e.what());
m_error = tr("Error generating key: %1").arg(QString::fromAscii(e.what()));
return false;
}
}