mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-10-30 16:28:49 -04:00
MicroExif: fix wrong software tag in MicroExif::fromImage
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user