Commit 70b1fa65 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qlatin1char/qlatin1string

parent 6de7830e
......@@ -55,7 +55,7 @@ QString HistoryURLItem::text() const {
bool first = true;
for (const QUrl &url : m_urls) {
if (!first) {
ret.append(QStringLiteral(" "));
ret.append(QLatin1Char(' '));
}
first = false;
ret.append(url.toString(QUrl::FullyEncoded));
......
......@@ -160,7 +160,7 @@ void CalculatorRunner::hexSubstitutions(QString& cmd)
{
if (cmd.contains(QStringLiteral("0x"))) {
//Append +0 so that the calculator can serve also as a hex converter
cmd.append(QStringLiteral("+0"));
cmd.append(QLatin1String("+0"));
bool ok;
int pos = 0;
QString hex;
......
Supports Markdown
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