Commit cfd3c0fc authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Port to qCDebug

parent b1a0bd76
......@@ -8,6 +8,8 @@ ${KOPETE_INCLUDES}
set(kopete_contactnotes_PART_SRCS contactnotesplugin.cpp contactnotesedit.cpp )
ecm_qt_declare_logging_category(kopete_contactnotes_PART_SRCS HEADER plugin_contactnotes_debug.h IDENTIFIER KOPETE_PLUGIN_CONTACTNOTES_LOG CATEGORY_NAME org.kde.plugin.contactnotes)
qt5_add_resources(kopete_contactnotes_PART_SRCS contactnotes.qrc)
add_library(kopete_contactnotes MODULE ${kopete_contactnotes_PART_SRCS})
......
......@@ -18,7 +18,7 @@
#include "contactnotesplugin.h"
#include <QAction>
#include <kdebug.h>
#include "plugin_contactnotes_debug.h"
#include <kgenericfactory.h>
#include <qicon.h>
......@@ -36,7 +36,7 @@ ContactNotesPlugin::ContactNotesPlugin(QObject *parent, const QVariantList & /*
: Kopete::Plugin(parent)
{
if (pluginStatic_) {
kDebug(14302)<<"ContactNotesPlugin::ContactNotesPlugin : plugin already initialized";
qCDebug(KOPETE_PLUGIN_CONTACTNOTES_LOG)<<"ContactNotesPlugin::ContactNotesPlugin : plugin already initialized";
} else {
pluginStatic_ = this;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment