Commit 03f55c47 authored by Allen Winter's avatar Allen Winter

src/incidencerecurrence.cpp - fix compile with Qt<5.9

parent 9dceaa81
......@@ -151,7 +151,7 @@ KLocalizedString IncidenceRecurrence::subsOrdinal(const KLocalizedString &text,
"translate this as \"1\" if just the number itself "
"should be substituted (1, 22, 123).",
"0");
if (q == QLatin1Char('0')) {
if (q == QLatin1String("0")) {
const QString ordinal = numberToString(number);
return text.subs(ordinal);
} else {
......
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