mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
mobileshell: Fix wallpaper selector paths
Previews don't seem to load otherwise
This commit is contained in:
parent
c526bb5968
commit
0b26be6331
1 changed files with 3 additions and 2 deletions
|
|
@ -135,11 +135,12 @@ Controls.Drawer {
|
||||||
Image {
|
Image {
|
||||||
id: walliePreview
|
id: walliePreview
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: model.preview != null
|
visible: model.path != null
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
cache: false
|
cache: false
|
||||||
source: model.preview
|
|
||||||
fillMode: Image.PreserveAspectCrop
|
fillMode: Image.PreserveAspectCrop
|
||||||
|
// HACK: for some reason the wallpaper preview doesn't load, just load the full image
|
||||||
|
source: model.path
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue