From 3df5e0dc11c8f786bee36068c63abeb5c036931a Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Mon, 28 Nov 2016 15:57:58 +0100 Subject: [PATCH] Define the debug category in core_debug.cpp --- core/core_debug.cpp | 2 ++ core/device.cpp | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core_debug.cpp b/core/core_debug.cpp index 7dbdc3740..24be1fd38 100644 --- a/core/core_debug.cpp +++ b/core/core_debug.cpp @@ -20,6 +20,8 @@ #include "core_debug.h" +Q_LOGGING_CATEGORY(KDECONNECT_CORE, "kdeconnect.core") + #ifdef Q_OS_LINUX #include #include diff --git a/core/device.cpp b/core/device.cpp index d833c8d22..de73773bc 100644 --- a/core/device.cpp +++ b/core/device.cpp @@ -40,8 +40,6 @@ #include "kdeconnectconfig.h" #include "daemon.h" -Q_LOGGING_CATEGORY(KDECONNECT_CORE, "kdeconnect.core") - static void warn(const QString &info) { qWarning() << "Device pairing error" << info;