From 81cc275f5bf1560aa6b2f8c54a6356c6f50b71ea Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Fri, 3 Aug 2018 02:40:34 +0200 Subject: [PATCH] Fix NotificationListener Test --- app/qml/FindDevicesPage.qml | 3 +++ tests/testnotificationlistener.cpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/qml/FindDevicesPage.qml b/app/qml/FindDevicesPage.qml index 69a57f682..e16424065 100644 --- a/app/qml/FindDevicesPage.qml +++ b/app/qml/FindDevicesPage.qml @@ -38,6 +38,9 @@ Kirigami.ScrollablePage property: "status" delegate: Kirigami.Heading { level: 4 + background: Rectangle { + color: "#21be2b" + } text: switch (parseInt(section)) { case DevicesModel.Paired: diff --git a/tests/testnotificationlistener.cpp b/tests/testnotificationlistener.cpp index 15e88e959..346432a15 100644 --- a/tests/testnotificationlistener.cpp +++ b/tests/testnotificationlistener.cpp @@ -185,7 +185,8 @@ void TestNotificationListener::testNotify() plugin = new TestNotificationsPlugin(this, QVariantList({ QVariant::fromValue(d), "notifications_plugin", - {"kdeconnect.notification"}})); + {"kdeconnect.notification"}, + "preferences-desktop-notification"})); QVERIFY(plugin->getNotificationsListener()); delete plugin->getNotificationsListener();