summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-26 05:45:22 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-26 05:45:22 (GMT)
commit4b635c777526dc357fef0331edbe786812faeecb (patch)
tree30502480094454bde48aa444b365bf587173301c
parentf72046a89d4158fcdec28c231e2b8a2d915ec492 (diff)
Use qCWarning
-rw-r--r--src/genericplugins/genericpluginmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/genericplugins/genericpluginmanager.cpp b/src/genericplugins/genericpluginmanager.cpp
index 2eb0fae..3cb1d4d 100644
--- a/src/genericplugins/genericpluginmanager.cpp
+++ b/src/genericplugins/genericpluginmanager.cpp
@@ -17,6 +17,7 @@
#include "genericplugin.h"
#include "genericpluginmanager.h"
+#include "pimcommon_debug.h"
#include <kpluginmetadata.h>
#include <KPluginLoader>
@@ -119,7 +120,7 @@ bool GenericPluginManagerPrivate::initializePlugins()
mPluginList.push_back(info);
unique.insert(info.saveName());
} else {
- qWarning() << "Plugin " << info.metaData.name() << " doesn't have correction plugin version. It will not be loaded.";
+ qCWarning(PIMCOMMON_LOG) << "Plugin " << info.metaData.name() << " doesn't have correction plugin version. It will not be loaded.";
}
}
QVector<GenericPluginInfo>::iterator end(mPluginList.end());