Commit 5967f2fb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 0728063c
Pipeline #29797 passed with stage
in 14 minutes and 1 second
......@@ -678,13 +678,13 @@ QString CalendarSupport::toolTipString(const Akonadi::Collection &coll, bool ric
// Content Type
QStringList mimeTypes = coll.contentMimeTypes();
mimeTypes.removeAll(QLatin1String("inode/directory"));
mimeTypes.removeAll(QStringLiteral("inode/directory"));
QString mimeTypeStr;
if (!mimeTypes.isEmpty()) {
mimeTypeStr = QLocale().createSeparatedList(
mimeTypes.
replaceInStrings(
QLatin1String("application/x-vnd.akonadi.calendar."), QString()));
QStringLiteral("application/x-vnd.akonadi.calendar."), QString()));
} else {
mimeTypeStr = i18nc("collection has no mimetypes to show the user", "none");
}
......
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