Commit f24ab588 authored by Nate Graham's avatar Nate Graham
Browse files

wallpapers/slideshowpackage: qualify overlayWidth's origin

This improves code comprehensibility and will be required in Qt 6.
parent c002fb02
Pipeline #231512 passed with stage
in 11 minutes and 26 seconds
......@@ -183,13 +183,14 @@ ColumnLayout {
id: slidePathsView
model: imageWallpaper.slidePaths
delegate: Kirigami.SwipeListItem {
id: baseListItem
width: slidePathsView.width
// content item includes its own padding
padding: 0
// Don't need a highlight or hover effects
hoverEnabled: false
contentItem: Kirigami.BasicListItem {
width: slidePathsView.width - overlayWidth
width: slidePathsView.width - baseListItem.overlayWidth
// Don't need a highlight or hover effects
hoverEnabled: false
separatorVisible: false
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment