Use double quotes instead of single quotes as per our guidelines.

Change-Id: Ib608bb49e26781aef1914085a5d801fcdcd5eb56
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
Christian Kandeler
2014-04-17 14:09:47 +02:00
parent c20f40e12e
commit eccc1198d6
123 changed files with 293 additions and 293 deletions

View File

@@ -120,7 +120,7 @@ bool FileNameValidatingLineEdit::validateFileName(const QString &name,
if (qc.isSpace())
*errorMessage = tr("Name contains white space.");
else
*errorMessage = tr("Invalid character '%1'.").arg(qc);
*errorMessage = tr("Invalid character \"%1\".").arg(qc);
}
return false;
}
@@ -130,7 +130,7 @@ bool FileNameValidatingLineEdit::validateFileName(const QString &name,
const QLatin1String notAllowedSubString(notAllowedSubStrings[s]);
if (name.contains(notAllowedSubString)) {
if (errorMessage)
*errorMessage = tr("Invalid characters '%1'.").arg(QString(notAllowedSubString));
*errorMessage = tr("Invalid characters \"%1\".").arg(QString(notAllowedSubString));
return false;
}
}