From 84f8b1a8d4dbeab8cc447efd64275d48686f48be Mon Sep 17 00:00:00 2001 From: cgilles Date: Wed, 4 Feb 2009 07:21:00 +0000 Subject: [PATCH] missing condition to write metadata git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics@920967 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libs/libkexiv2/libkexiv2/kexiv2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/libkexiv2/libkexiv2/kexiv2.cpp b/libs/libkexiv2/libkexiv2/kexiv2.cpp index 7efb9113..0bb94fbe 100644 --- a/libs/libkexiv2/libkexiv2/kexiv2.cpp +++ b/libs/libkexiv2/libkexiv2/kexiv2.cpp @@ -421,6 +421,10 @@ bool KExiv2::save(const QString& filePath) const ::utime(QFile::encodeName(filePath), &ut); } + else + { + image->writeMetadata(); + } return true; } -- 2.11.4.GIT