Fix NotificationListener Test
This commit is contained in:
parent
e4385042eb
commit
81cc275f5b
2 changed files with 5 additions and 1 deletions
|
@ -38,6 +38,9 @@ Kirigami.ScrollablePage
|
||||||
property: "status"
|
property: "status"
|
||||||
delegate: Kirigami.Heading {
|
delegate: Kirigami.Heading {
|
||||||
level: 4
|
level: 4
|
||||||
|
background: Rectangle {
|
||||||
|
color: "#21be2b"
|
||||||
|
}
|
||||||
text: switch (parseInt(section))
|
text: switch (parseInt(section))
|
||||||
{
|
{
|
||||||
case DevicesModel.Paired:
|
case DevicesModel.Paired:
|
||||||
|
|
|
@ -185,7 +185,8 @@ void TestNotificationListener::testNotify()
|
||||||
plugin = new TestNotificationsPlugin(this,
|
plugin = new TestNotificationsPlugin(this,
|
||||||
QVariantList({ QVariant::fromValue<Device*>(d),
|
QVariantList({ QVariant::fromValue<Device*>(d),
|
||||||
"notifications_plugin",
|
"notifications_plugin",
|
||||||
{"kdeconnect.notification"}}));
|
{"kdeconnect.notification"},
|
||||||
|
"preferences-desktop-notification"}));
|
||||||
QVERIFY(plugin->getNotificationsListener());
|
QVERIFY(plugin->getNotificationsListener());
|
||||||
delete plugin->getNotificationsListener();
|
delete plugin->getNotificationsListener();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue