Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Okular
Commits
99b56887
Commit
99b56887
authored
Jul 13, 2016
by
Martin Tobias Holmedahl Sandsmark
Browse files
Make querying for KPart supported mimetypes a bit less broken
parent
39bff653
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/shell.cpp
View file @
99b56887
...
...
@@ -398,8 +398,7 @@ QStringList Shell::fileFormats() const
for
(
;
it
!=
itEnd
;
++
it
)
{
KService
::
Ptr
service
=
*
it
;
QStringList
mimeTypes
=
service
->
serviceTypes
();
mimeTypes
.
removeAll
(
basePartService
);
QStringList
mimeTypes
=
service
->
mimeTypes
();
supportedPatterns
+=
mimeTypes
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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