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;