Verified Commit 2547d957 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Remove minor build warning

parent 94240541
Pipeline #89058 passed with stage
in 5 minutes and 10 seconds
......@@ -35,7 +35,7 @@ AttendeeStatusModel::AttendeeStatusModel(QObject *parent)
// Regular expression adds space between every lowercase and Capitalised character then does the same
// for capitalised letters together, e.g. ThisIsATest. Not a problem right now, but best to be safe.
QString enumName = QLatin1String(QMetaEnum::fromType<KCalendarCore::Attendee::PartStat>().key(i));
QString displayName = enumName.replace(roleExp, QStringLiteral(""));
QString displayName = enumName.replace(roleExp, QString());
displayName.replace(lowerToCapitalSep, QStringLiteral("\\1 \\2"));
displayName.replace(capitalToCapitalSep, QStringLiteral("\\1 \\2"));
displayName.replace(lowerToCapitalSep, QStringLiteral("\\1 \\2"));
......
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