[plasmoid] Use PlaceholderMessage from PlasmaExtras instead of Kirigami

Otherwise the style may be incorrect

BUG: 434197
This commit is contained in:
Nicolas Fella 2021-03-09 19:20:05 +01:00
parent dc25d8ef5e
commit 7193cfc927

View file

@ -12,7 +12,6 @@ import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kdeconnect 1.0 as KdeConnect import org.kde.kdeconnect 1.0 as KdeConnect
import QtQuick.Layouts 1.9 import QtQuick.Layouts 1.9
import org.kde.kquickcontrolsaddons 2.0 import org.kde.kquickcontrolsaddons 2.0
import org.kde.kirigami 2.12 as Kirigami
Item { Item {
id: kdeconnect id: kdeconnect
@ -44,7 +43,7 @@ Item {
anchors.fill: parent anchors.fill: parent
delegate: DeviceDelegate { } delegate: DeviceDelegate { }
Kirigami.PlaceholderMessage { PlasmaExtras.PlaceholderMessage {
// For optimal label and button sizing // For optimal label and button sizing
width: units.gridUnit * 20 width: units.gridUnit * 20
anchors.centerIn: parent anchors.centerIn: parent