Commit 296bdb8d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QStringLiteral

parent faf05fbe
......@@ -84,11 +84,11 @@ bool SummaryEventInfo::skip(const KCalCore::Event::Ptr &event)
//the appropriate category to the event.
QStringList c = event->categories();
if (!mShowBirthdays &&
c.contains(QLatin1String("BIRTHDAY"), Qt::CaseInsensitive)) {
c.contains(QStringLiteral("BIRTHDAY"), Qt::CaseInsensitive)) {
return true;
}
if (!mShowAnniversaries &&
c.contains(QLatin1String("ANNIVERSARY"), Qt::CaseInsensitive)) {
c.contains(QStringLiteral("ANNIVERSARY"), Qt::CaseInsensitive)) {
return true;
}
......
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