Desktop: No scrollbar display

This commit is contained in:
cutefishd 2021-04-06 11:40:27 +08:00
parent 4f0489703a
commit 73cb28ad8c
2 changed files with 3 additions and 0 deletions

View file

@ -87,6 +87,8 @@ Item {
focus: true focus: true
model: dirModel model: dirModel
ScrollBar.vertical.policy: ScrollBar.AlwaysOff
onIconSizeChanged: { onIconSizeChanged: {
globalSettings.desktopIconSize = _folderView.iconSize globalSettings.desktopIconSize = _folderView.iconSize
} }

View file

@ -130,6 +130,7 @@ Item {
text: qsTr("Empty Trash") text: qsTr("Empty Trash")
onClicked: dirModel.emptyTrash() onClicked: dirModel.emptyTrash()
visible: dirModel.url === "trash:/" visible: dirModel.url === "trash:/"
focusPolicy: Qt.NoFocus
} }
} }
} }