From bd5c3ca460f7f729bb6b6f01b0588a15d5d1067d Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 27 Sep 2018 18:16:22 +0200 Subject: [PATCH] [App] Show message when no device is found Summary: {F6286990} Reviewers: #kde_connect, apol Reviewed By: #kde_connect, apol Subscribers: kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D15784 --- app/qml/FindDevicesPage.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/qml/FindDevicesPage.qml b/app/qml/FindDevicesPage.qml index 69a57f682..12b9790ce 100644 --- a/app/qml/FindDevicesPage.qml +++ b/app/qml/FindDevicesPage.qml @@ -33,7 +33,15 @@ Kirigami.ScrollablePage objectName: "FindDevices" title: i18n("Pair") + + Label { + text: i18n("No devices found") + anchors.centerIn: parent + visible: devices.count === 0 + } + ListView { + id: devices section { property: "status" delegate: Kirigami.Heading {