Commit 8a1990cb authored by Wolfgang Bauer's avatar Wolfgang Bauer
Browse files

Use QStringLiteral

Otherwise the compilation fails with -DQT_NO_CAST_FROM_ASCII
parent 67fc8d83
......@@ -183,7 +183,7 @@ void CreateAccount::info(const SignOn::IdentityInfo &info)
if (m_account->displayName().isEmpty()) {
if(info.userName().isEmpty()) {
// info.userName() can be empty, see bug#414219
m_account->setDisplayName(QString("%1%2").arg(info.caption()).arg(info.id()));
m_account->setDisplayName(QStringLiteral("%1%2").arg(info.caption()).arg(info.id()));
} else {
m_account->setDisplayName(info.userName());
}
......
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