From 3f15963b62565c0ffd005eb1ea8d08611a1f5b87 Mon Sep 17 00:00:00 2001 From: cgilles Date: Wed, 17 Sep 2008 09:23:14 +0000 Subject: [PATCH] use kDebug git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics@861821 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libs/libkexiv2/libkexiv2/kexiv2private.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libs/libkexiv2/libkexiv2/kexiv2private.cpp b/libs/libkexiv2/libkexiv2/kexiv2private.cpp index 106f800f..055c1294 100644 --- a/libs/libkexiv2/libkexiv2/kexiv2private.cpp +++ b/libs/libkexiv2/libkexiv2/kexiv2private.cpp @@ -9,10 +9,6 @@ * Copyright (C) 2006-2008 by Gilles Caulier * Copyright (C) 2006-2008 by Marcel Wiesweg * - * NOTE: Do not use kdDebug() in this implementation because - * it will be multithreaded. Use qDebug() instead. - * See B.K.O #133026 for details. - * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software Foundation; @@ -44,7 +40,8 @@ KExiv2Priv::~KExiv2Priv() void KExiv2Priv::printExiv2ExceptionError(const QString& msg, Exiv2::Error& e) { std::string s(e.what()); - qDebug("%s (Error #%i: %s)", msg.toAscii().constData(), e.code(), s.c_str()); + kDebug(51003) << msg.toAscii().constData() << " (Error #" + << e.code() << ": " << s.c_str() << endl; } QString KExiv2Priv::convertCommentValue(const Exiv2::Exifdatum &exifDatum) -- 2.11.4.GIT