mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
no notifications message
This commit is contained in:
parent
7c4cb2c00b
commit
7c1664f586
1 changed files with 12 additions and 0 deletions
|
|
@ -119,6 +119,18 @@ 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 {
|
||||
anchors.centerIn: parent
|
||||
text: i18n("No recent notifications")
|
||||
}
|
||||
}
|
||||
|
||||
ListModel {
|
||||
id: notificationsModel
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue