MicroExif: fix wrong software tag in MicroExif::fromImage

This commit is contained in:
Mirco Miranda
2026-10-23 10:31:18 +02:00
parent 7488f8ff2c
commit a9faf5feee
+1 -1
View File
@@ -1581,7 +1581,7 @@ MicroExif MicroExif::fromImage(const QImage &image)
// TIFF Software
if (exif.software().isEmpty()) {
auto sw = QCoreApplication::applicationName();
auto ver = sw = QCoreApplication::applicationVersion();
auto ver = QCoreApplication::applicationVersion();
if (!sw.isEmpty() && !ver.isEmpty())
sw.append(QStringLiteral(" %1").arg(ver));
exif.setSoftware(sw.trimmed());