From 500e4ecc4d657a639dfd725df1a447af24b3fa0f Mon Sep 17 00:00:00 2001 From: cgilles Date: Wed, 17 Sep 2008 07:56:22 +0000 Subject: [PATCH] use kDebug git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics@861783 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libs/libkexiv2/libkexiv2/kexiv2comments.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libs/libkexiv2/libkexiv2/kexiv2comments.cpp b/libs/libkexiv2/libkexiv2/kexiv2comments.cpp index bf3007e3..43a12ecc 100644 --- a/libs/libkexiv2/libkexiv2/kexiv2comments.cpp +++ b/libs/libkexiv2/libkexiv2/kexiv2comments.cpp @@ -10,10 +10,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; @@ -47,7 +43,8 @@ bool KExiv2::canWriteComment(const QString& filePath) catch( Exiv2::Error &e ) { std::string s(e.what()); - qDebug("%s (Error #%i: %s)", "Cannot check Comment access mode using Exiv2 ", e.code(), s.c_str()); + kDebug(51003) << "Cannot check Comment access mode using Exiv2 (Error #" + << e.code() << ": " << s.c_str() << ")" << endl; } return false; -- 2.11.4.GIT