Fix DBus connection in Kirigami app

Summary: The device id was not properly passed to the interface factory, rendering the Mpris and mousepad UI useless

Test Plan: Mpris and mousepad UI in app are now actually filled with content

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12505
This commit is contained in:
Nicolas Fella 2018-04-25 00:27:55 +02:00
parent 7dfe45bf89
commit 25cbf66e58

View file

@ -39,7 +39,7 @@ Kirigami.BasicListItem
if (component === "")
return;
var obj = interfaceFactory.create(checker.deviceId);
var obj = interfaceFactory.create(checker.device.id());
var page = pageStack.push(
component,
{ pluginInterface: obj }