From kde-commits Tue Mar 20 09:12:54 2012 From: Gilles Caulier Date: Tue, 20 Mar 2012 09:12:54 +0000 To: kde-commits Subject: [libkexiv2] libkexiv2: add debug statements Message-Id: <20120320091254.B1A2BA60A9 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=133223486203591 Git commit cf1165874fa86312130bb1a2c7d1073a507a7a9a by Gilles Caulier. Committed on 20/03/2012 at 10:11. Pushed by cgilles into branch 'master'. add debug statements M +2 -0 libkexiv2/kexiv2.cpp http://commits.kde.org/libkexiv2/cf1165874fa86312130bb1a2c7d1073a507a7a9a diff --git a/libkexiv2/kexiv2.cpp b/libkexiv2/kexiv2.cpp index 517626a..e90a78d 100644 --- a/libkexiv2/kexiv2.cpp +++ b/libkexiv2/kexiv2.cpp @@ -458,6 +458,7 @@ bool KExiv2::save(const QString& imageFilePath) const = if (writeToFile) { + kDebug() << "Will write Metadata to file" << finfo.fileName(); writtenToFile =3D d->saveToFile(finfo); if (writeToFile) { @@ -467,6 +468,7 @@ bool KExiv2::save(const QString& imageFilePath) const = if (writeToSidecar || (writeToSidecarIfFileNotPossible && !writtenToFi= le)) { + kDebug() << "Will write XMP sidecar for file" << givenFileInfo.fil= eName(); writtenToSidecar =3D d->saveToXMPSidecar(imageFilePath); if (writtenToSidecar) {