Skip to content

Commit

Permalink
Remove broken and unneeded scroll view in tray user menu
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Jul 19, 2024
1 parent db4cc38 commit 16a952b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16a952b

Please sign in to comment.