From a41ab9ad95b4f8e053af82741a45f747e77ff37a Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 23 Aug 2026 11:53:32 +0800 Subject: MouseArea: attempt to replace all MouseArea to modern non stealing alternative mousearea anchor.fill parent of item/slider etc. that doesn't have width or height won't work with the modern alternative so.. --- bar/Network.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bar/Network.qml') diff --git a/bar/Network.qml b/bar/Network.qml index a343977..fbd1d91 100644 --- a/bar/Network.qml +++ b/bar/Network.qml @@ -111,10 +111,12 @@ Item { } } } - MouseArea { - anchors.fill: container + + HoverHandler { cursorShape: Qt.PointingHandCursor - onClicked: { + } + TapHandler { + onTapped: { root.isCollapsed = !root.isCollapsed; } } -- cgit v1.2.3