Commit 2d226455 authored by Laurent Montel's avatar Laurent Montel 😁

Use QLatin1Char when possible

parent af51ecf3
......@@ -127,7 +127,7 @@ QVariant KCalModel::data(const QModelIndex &index, int role) const
return i18nc("@info",
"This model can only handle event, task, journal or free-busy list folders. "
"The current collection holds mimetypes: %1",
collection().contentMimeTypes().join(QStringLiteral(",")));
collection().contentMimeTypes().join(QLatin1Char(',')));
}
return QVariant();
}
......
......@@ -610,7 +610,7 @@ QString CalendarSupport::displayName(Akonadi::ETMCalendar *calendar, const Akona
const QString nameStr = c.displayName(); // folder name: can be anything
QString typeStr;
const QString mimeStr = c.contentMimeTypes().join(QStringLiteral(","));
const QString mimeStr = c.contentMimeTypes().join(QLatin1Char(','));
if (mimeStr.contains(QStringLiteral(".event"))) {
typeStr = i18n("Calendar");
} else if (mimeStr.contains(QStringLiteral(".todo"))) {
......
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