Commit 243d975d authored by Maik Qualmann's avatar Maik Qualmann

add Exif.Image.XPKeywords to the remove metadata BQM tool

CCBUGS: 421464
parent f2a14a01
......@@ -57,7 +57,8 @@ public:
VIDEO,
DUBLIN,
DIGIKAM,
HISTORY
HISTORY,
XPKEYWORDS
};
public:
......@@ -105,6 +106,7 @@ void RemoveMetadata::registerSettingsWidget()
d->exifComboBox->addItem(i18n("Completely"), Private::ALL);
d->exifComboBox->addItem(i18n("Date"), Private::DATE);
d->exifComboBox->addItem(i18n("GPS"), Private::GPS);
d->exifComboBox->addItem(i18n("XPKeywords"), Private::XPKEYWORDS);
d->removeIptc = new QCheckBox(i18n("Iptc:"), panel);
d->iptcComboBox = new QComboBox(panel);
......@@ -260,6 +262,10 @@ bool RemoveMetadata::toolOperations()
{
meta.removeExifTags(QStringList() << QLatin1String("GPSInfo"));
}
else if (exifData == Private::XPKEYWORDS)
{
meta.removeExifTag("Exif.Image.XPKeywords");
}
}
if (removeIptc)
......
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