diff --git a/klipper/historyurlitem.cpp b/klipper/historyurlitem.cpp index 0d18853aa..2a1e308c8 100644 --- a/klipper/historyurlitem.cpp +++ b/klipper/historyurlitem.cpp @@ -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)); diff --git a/runners/calculator/calculatorrunner.cpp b/runners/calculator/calculatorrunner.cpp index e3dee01a3..d8a066a91 100644 --- a/runners/calculator/calculatorrunner.cpp +++ b/runners/calculator/calculatorrunner.cpp @@ -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;