[Notifications] Remove unused hovered property

All hover handling (pausing timeout etc) is done in NotificationPopup
wilder-5.25
Kai Uwe Broulik 4 years ago
parent e124330e62
commit 6d91e350ea
  1. 1
      applets/notifications/package/contents/ui/JobItem.qml
  2. 3
      applets/notifications/package/contents/ui/NotificationItem.qml
  3. 1
      applets/notifications/package/contents/ui/NotificationPopup.qml

@ -26,7 +26,6 @@ ColumnLayout {
property alias suspendable: suspendButton.visible property alias suspendable: suspendButton.visible
property alias killable: killButton.visible property alias killable: killButton.visible
property bool hovered
property QtObject jobDetails property QtObject jobDetails
readonly property int totalFiles: jobItem.jobDetails && jobItem.jobDetails.totalFiles || 0 readonly property int totalFiles: jobItem.jobDetails && jobItem.jobDetails.totalFiles || 0

@ -20,7 +20,6 @@ import org.kde.notificationmanager 1.0 as NotificationManager
ColumnLayout { ColumnLayout {
id: notificationItem id: notificationItem
property bool hovered: false
property int maximumLineCount: 0 property int maximumLineCount: 0
property alias bodyCursorShape: bodyLabel.cursorShape property alias bodyCursorShape: bodyLabel.cursorShape
@ -293,8 +292,6 @@ ColumnLayout {
onOpenUrl: notificationItem.openUrl(url) onOpenUrl: notificationItem.openUrl(url)
onFileActionInvoked: notificationItem.fileActionInvoked(action) onFileActionInvoked: notificationItem.fileActionInvoked(action)
hovered: notificationItem.hovered
} }
} }

@ -202,7 +202,6 @@ PlasmaCore.Dialog {
y: closable || dismissable || configurable ? -notificationPopup.margins.top : 0 y: closable || dismissable || configurable ? -notificationPopup.margins.top : 0
headingRightPadding: -notificationPopup.margins.right headingRightPadding: -notificationPopup.margins.right
width: parent.width width: parent.width
hovered: area.containsMouse
maximumLineCount: 8 maximumLineCount: 8
bodyCursorShape: notificationPopup.hasDefaultAction ? Qt.PointingHandCursor : 0 bodyCursorShape: notificationPopup.hasDefaultAction ? Qt.PointingHandCursor : 0

Loading…
Cancel
Save