diff --git a/autotests/read/jxr/metadata.jxr b/autotests/read/jxr/metadata.jxr index d82d5de..bce9bee 100644 Binary files a/autotests/read/jxr/metadata.jxr and b/autotests/read/jxr/metadata.jxr differ diff --git a/autotests/read/jxr/metadata.jxr.json b/autotests/read/jxr/metadata.jxr.json index 8012682..9153d4c 100644 --- a/autotests/read/jxr/metadata.jxr.json +++ b/autotests/read/jxr/metadata.jxr.json @@ -14,7 +14,7 @@ }, { "key" : "Software" , - "value" : "LIFE Pro 2.18.10" + "value" : "LIFE Pro 2.20.35" }, { "key" : "Altitude", @@ -32,6 +32,10 @@ "key" : "Description", "value" : "TV broadcast test image." }, + { + "key" : "HostComputer", + "value" : "Windows 11 Enterprise (25H2)" + }, { "key" : "Latitude", "value" : "44.6478" diff --git a/src/imageformats/jxr.cpp b/src/imageformats/jxr.cpp index 936ab4d..228b787 100644 --- a/src/imageformats/jxr.cpp +++ b/src/imageformats/jxr.cpp @@ -498,7 +498,7 @@ public: } auto host = hostComputer(); if (!host.isEmpty()) { - image.setText(QStringLiteral(META_KEY_HOSTCOMPUTER), capt); + image.setText(QStringLiteral(META_KEY_HOSTCOMPUTER), host); } auto docn = documentName(); if (!docn.isEmpty()) {