Commit e15b54f9 authored by Veaceslav Munteanu's avatar Veaceslav Munteanu
Browse files

BUG: 268688 Disable read of old tag paths and use setXmpTagStringBag in dmetadata

parent 18f5bdab
......@@ -709,7 +709,7 @@ bool MetadataHub::write(DMetadata& metadata, WriteMode writeMode, const Metadata
// create list of keywords to be added and to be removed
QStringList tagsPathList, oldKeywords, newKeywords;
metadata.getImageTagsPath(tagsPathList);
//metadata.getImageTagsPath(tagsPathList);
for (QMap<int, TagStatus>::iterator it = d->tags.begin(); it != d->tags.end(); ++it)
{
......
......@@ -3037,7 +3037,7 @@ QStringList DMetadata::getXmpKeywords() const
bool DMetadata::setXmpKeywords(const QStringList& newKeywords, bool setProgramName) const
{
return addToXmpTagStringBag("Xmp.dc.subject", newKeywords, setProgramName);
return setXmpTagStringBag("Xmp.dc.subject", newKeywords, setProgramName);
}
bool DMetadata::removeXmpKeywords(const QStringList& keywordsToRemove, bool setProgramName)
......
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