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
model: dirModel
ScrollBar.vertical.policy: ScrollBar.AlwaysOff
onIconSizeChanged: {
globalSettings.desktopIconSize = _folderView.iconSize
}

View file

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