[Digikam-devel] [digikam] [Bug 345220] HUB : Import ACDSee Categories to hierarchical Tags [patch]
Gilles Caulier
caulier.gilles at gmail.com
Fri May 1 13:16:17 BST 2015
https://bugs.kde.org/show_bug.cgi?id=345220
--- Comment #50 from Gilles Caulier <caulier.gilles at gmail.com> ---
Maik,
At end of commit from comment #45, you have performed these changes :
return fromIptcOrXmp("Iptc.Application2.Headline",
"Xmp.photoshop.Headline");
case MetadataInfo::Title:
{
- QVariant var = fromXmpLangAlt("Xmp.dc.title");
-
- if (!var.isNull())
- {
- return var;
- }
-
- return fromIptcEmulateLangAlt("Iptc.Application2.ObjectName");
+ QString str = getImageTitles()[QString("x-default")].caption;
+
+ if (str.isEmpty())
+ {
+ return QVariant(QVariant::Map);
+ }
+
+ QMap<QString, QVariant> map;
+ map["x-default"] = str;
+ return map;
}
case MetadataInfo::DescriptionWriter:
return fromIptcOrXmp("Iptc.Application2.Writer",
"Xmp.photoshop.CaptionWriter");
You drop fromIptcEmulateLangAlt() call. This is intentional ? New code will
replace it properly ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list