mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 03:54:18 -04:00
Use of metadata macro definitions
Replaced the metadata string with the common macro definition
This commit is contained in:
committed by
Albert Astals Cid
parent
cb5ca7fc48
commit
7499e3b8d4
@ -521,7 +521,7 @@ static bool setXmpData(QImage& img, const PSDImageResourceSection& irs)
|
||||
// NOTE: "XML:com.adobe.xmp" is the meta set by Qt reader when an
|
||||
// XMP packet is found (e.g. when reading a PNG saved by Photoshop).
|
||||
// I'm reusing the same key because a programs could search for it.
|
||||
img.setText(QStringLiteral("XML:com.adobe.xmp"), xmp);
|
||||
img.setText(QStringLiteral(META_KEY_XMP_ADOBE), xmp);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user