Commit beeae630 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Missing Q_OBJECT macro

parent c4643bcc
......@@ -32,6 +32,8 @@
class LanPairingHandler
: public PairingHandler
{
Q_OBJECT
public:
enum InternalPairStatus {
......
......@@ -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}};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment