From 6fcdb6638fbb5b6c2e350306535c9fa8952bb57d Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Tue, 10 May 2016 00:33:17 +0200 Subject: [PATCH] [Device Notifier] Remove cruft There's no reason for the expanded representation to be a MouseArea and the lineSvg is unused ever since we removed that status bar --- .../package/contents/ui/FullRepresentation.qml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/applets/devicenotifier/package/contents/ui/FullRepresentation.qml b/applets/devicenotifier/package/contents/ui/FullRepresentation.qml index e5781d7e7..b8c0a86cc 100644 --- a/applets/devicenotifier/package/contents/ui/FullRepresentation.qml +++ b/applets/devicenotifier/package/contents/ui/FullRepresentation.qml @@ -28,17 +28,10 @@ import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.extras 2.0 as PlasmaExtras -MouseArea { +Item { Layout.minimumWidth: units.gridUnit * 18 Layout.minimumHeight: units.gridUnit * 22 - hoverEnabled: true - - PlasmaCore.Svg { - id: lineSvg - imagePath: "widgets/line" - } - PlasmaExtras.Heading { width: parent.width level: 3 @@ -196,4 +189,4 @@ MouseArea { Behavior on height { NumberAnimation { duration: units.shortDuration * 3 } } } } -} // MouseArea +}