no notific message

This commit is contained in:
Marco Martin 2017-09-01 18:39:39 +02:00
parent 0b03a9d234
commit 09ce25dfdc

View file

@ -122,17 +122,13 @@ Item {
} }
PlasmaCore.FrameSvgItem {
anchors.centerIn: parent
visible: notificationsModel.count == 0
imagePath: "widgets/background"
width: childrenRect.width + margins.left + margins.right
height: childrenRect.height + margins.top + margins.bottom
PlasmaComponents.Label { PlasmaComponents.Label {
anchors.centerIn: parent anchors.centerIn: parent
opacity: 0.4
visible: notificationsModel.count == 0
text: i18n("No recent notifications") text: i18n("No recent notifications")
} }
}
ListModel { ListModel {
id: notificationsModel id: notificationsModel