Skip to content

Commit

Permalink
Fix NotificationListener Test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfella committed Aug 3, 2018
1 parent e438504 commit 81cc275
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/qml/FindDevicesPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Kirigami.ScrollablePage
property: "status"
delegate: Kirigami.Heading {
level: 4
background: Rectangle {
color: "#21be2b"
}
text: switch (parseInt(section))
{
case DevicesModel.Paired:
Expand Down
3 changes: 2 additions & 1 deletion tests/testnotificationlistener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ void TestNotificationListener::testNotify()
plugin = new TestNotificationsPlugin(this,
QVariantList({ QVariant::fromValue<Device*>(d),
"notifications_plugin",
{"kdeconnect.notification"}}));
{"kdeconnect.notification"},
"preferences-desktop-notification"}));
QVERIFY(plugin->getNotificationsListener());
delete plugin->getNotificationsListener();

Expand Down

0 comments on commit 81cc275

Please sign in to comment.