Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Calendar Support
Commits
5967f2fb
Commit
5967f2fb
authored
Aug 05, 2020
by
Laurent Montel
😁
Browse files
Fix clazy warning
parent
0728063c
Pipeline
#29797
passed with stage
in 14 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/utils.cpp
View file @
5967f2fb
...
...
@@ -678,13 +678,13 @@ QString CalendarSupport::toolTipString(const Akonadi::Collection &coll, bool ric
// Content Type
QStringList
mimeTypes
=
coll
.
contentMimeTypes
();
mimeTypes
.
removeAll
(
Q
Latin1
String
(
"inode/directory"
));
mimeTypes
.
removeAll
(
QString
Literal
(
"inode/directory"
));
QString
mimeTypeStr
;
if
(
!
mimeTypes
.
isEmpty
())
{
mimeTypeStr
=
QLocale
().
createSeparatedList
(
mimeTypes
.
replaceInStrings
(
Q
Latin1
String
(
"application/x-vnd.akonadi.calendar."
),
QString
()));
QString
Literal
(
"application/x-vnd.akonadi.calendar."
),
QString
()));
}
else
{
mimeTypeStr
=
i18nc
(
"collection has no mimetypes to show the user"
,
"none"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment