Missing Q_OBJECT macro
This commit is contained in:
parent
c4643bcceb
commit
beeae63086
2 changed files with 3 additions and 2 deletions
|
@ -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}};
|
||||
|
|
Loading…
Reference in a new issue