Define the debug category in core_debug.cpp

This commit is contained in:
Albert Vaca 2016-11-28 15:57:58 +01:00
parent 41fd3d8dd8
commit 3df5e0dc11
2 changed files with 2 additions and 2 deletions

View file

@ -20,6 +20,8 @@
#include "core_debug.h"
Q_LOGGING_CATEGORY(KDECONNECT_CORE, "kdeconnect.core")
#ifdef Q_OS_LINUX
#include <execinfo.h>
#include <stdlib.h>

View file

@ -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;