mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kio: avoid temporary in kfilematadata_exiv2 plugin
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e29151a728
commit
feb0869d29
1 changed files with 1 additions and 3 deletions
|
@ -102,8 +102,7 @@ QList<KFileMetaInfoItem> KFileMetaDataExiv2Plugin::metaData(const KUrl &url, con
|
|||
Q_UNUSED(flags);
|
||||
QList<KFileMetaInfoItem> result;
|
||||
const KExiv2 kexiv2(url.toLocalFile());
|
||||
const KExiv2PropertyList kexiv2metadata = kexiv2.metadata();
|
||||
foreach (const KExiv2Property &kexiv2property, kexiv2metadata) {
|
||||
foreach (const KExiv2Property &kexiv2property, kexiv2.metadata()) {
|
||||
// qDebug() << Q_FUNC_INFO << kexiv2property.name << kexiv2property.value;
|
||||
// for reference:
|
||||
// https://exiv2.org/tags.html
|
||||
|
@ -306,7 +305,6 @@ QList<KFileMetaInfoItem> KFileMetaDataExiv2Plugin::metaData(const KUrl &url, con
|
|||
);
|
||||
}
|
||||
}
|
||||
// qDebug() << Q_FUNC_INFO << url << kexiv2metadata;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue