Commit 4a679e6c authored by Sebastian Engel's avatar Sebastian Engel

Removed redundant qAsConst

parent 3c978830
Pipeline #24892 passed with stage
in 7 minutes and 24 seconds
...@@ -1450,10 +1450,10 @@ QMap<QString, QString> FileContent::toolTipInfos() ...@@ -1450,10 +1450,10 @@ QMap<QString, QString> FileContent::toolTipInfos()
} }
MetaDataExtractionResult result(fullPath(), mime.name()); MetaDataExtractionResult result(fullPath(), mime.name());
KFileMetaData::ExtractorCollection extractorCollection; KFileMetaData::ExtractorCollection extractorCollection;
QList<KFileMetaData::Extractor*> exList = extractorCollection.fetchExtractors(mime.name()); QList<KFileMetaData::Extractor*> exList = extractorCollection.fetchExtractors(mime.name());
for (KFileMetaData::Extractor *ex : exList) {
for (KFileMetaData::Extractor *ex : qAsConst(exList)) {
ex->extract(&result); ex->extract(&result);
const auto groups = result.preferredGroups(); const auto groups = result.preferredGroups();
DEBUG_WIN << "Metadata Extractor result has " << QString::number(groups.count()) << " groups"; DEBUG_WIN << "Metadata Extractor result has " << QString::number(groups.count()) << " groups";
......
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