From 16a952b20c2c1b86555ccf90945e8ee766e8da0f Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 6 Jun 2024 18:14:59 +0800 Subject: [PATCH] Remove broken and unneeded scroll view in tray user menu Signed-off-by: Claudio Cambra --- src/gui/tray/Window.qml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index 848aac28194f4..7d94526c14b6b 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -312,22 +312,6 @@ ApplicationWindow { radius: Style.currentAccountButtonRadius } - contentItem: ScrollView { - id: accMenuScrollView - ScrollBar.horizontal.policy: ScrollBar.AlwaysOff - - data: WheelHandler { - target: accMenuScrollView.contentItem - } - ListView { - implicitHeight: contentHeight - model: accountMenu.contentModel - interactive: true - clip: true - currentIndex: accountMenu.currentIndex - } - } - onClosed: { // HACK: reload account Instantiator immediately by restting it - could be done better I guess // see also onVisibleChanged above