Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sebastian Engel
Basket
Commits
4a679e6c
Commit
4a679e6c
authored
Jun 24, 2020
by
Sebastian Engel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed redundant qAsConst
parent
3c978830
Pipeline
#24892
passed with stage
in 7 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/notecontent.cpp
src/notecontent.cpp
+2
-2
No files found.
src/notecontent.cpp
View file @
4a679e6c
...
...
@@ -1450,10 +1450,10 @@ QMap<QString, QString> FileContent::toolTipInfos()
}
MetaDataExtractionResult
result
(
fullPath
(),
mime
.
name
());
KFileMetaData
::
ExtractorCollection
extractorCollection
;
QList
<
KFileMetaData
::
Extractor
*>
exList
=
extractorCollection
.
fetchExtractors
(
mime
.
name
());
for
(
KFileMetaData
::
Extractor
*
ex
:
qAsConst
(
exList
))
{
for
(
KFileMetaData
::
Extractor
*
ex
:
exList
)
{
ex
->
extract
(
&
result
);
const
auto
groups
=
result
.
preferredGroups
();
DEBUG_WIN
<<
"Metadata Extractor result has "
<<
QString
::
number
(
groups
.
count
())
<<
" groups"
;
...
...
Write
Preview
Markdown
is supported
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