From beeae630868d1f4f8c53df2819addc9646da26ed Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sat, 26 Nov 2016 16:05:56 +0100 Subject: [PATCH] Missing Q_OBJECT macro --- core/backends/lan/lanpairinghandler.h | 2 ++ tests/testnotificationlistener.cpp | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/backends/lan/lanpairinghandler.h b/core/backends/lan/lanpairinghandler.h index 363f64c64..1030f89c1 100644 --- a/core/backends/lan/lanpairinghandler.h +++ b/core/backends/lan/lanpairinghandler.h @@ -32,6 +32,8 @@ class LanPairingHandler : public PairingHandler { + Q_OBJECT + public: enum InternalPairStatus { diff --git a/tests/testnotificationlistener.cpp b/tests/testnotificationlistener.cpp index ec6d10e67..5255c1c43 100644 --- a/tests/testnotificationlistener.cpp +++ b/tests/testnotificationlistener.cpp @@ -117,7 +117,7 @@ public Q_SLOTS: // Tweaked NotificationsListener for testing: class TestedNotificationsListener: public NotificationsListener { - + Q_OBJECT public: explicit TestedNotificationsListener(KdeConnectPlugin* aPlugin) : NotificationsListener(aPlugin) @@ -424,7 +424,6 @@ void TestNotificationListener::testNotify() 0x11, 0x12, 0x13, 0x14, 0x21, 0x22, 0x23, 0x24, 0x31, 0x32, 0x33, 0x34 }; - QByteArray byteData(rawData, rowStride*height); QVariantMap imageData = {{"width", width}, {"height", height}, {"rowStride", rowStride}, {"bitsPerSample", bitsPerSample}, {"channels", channels}, {"hasAlpha", hasAlpha}, {"imageData", rawData}};