fix: don't loader variants
Change model instead This may or may not help with the background not loading
This commit is contained in:
parent
ffa7d88cae
commit
612f828b9f
1 changed files with 131 additions and 136 deletions
|
|
@ -7,12 +7,8 @@ import qs.components.containers
|
||||||
import qs.services
|
import qs.services
|
||||||
import qs.config
|
import qs.config
|
||||||
|
|
||||||
Loader {
|
Variants {
|
||||||
asynchronous: true
|
model: Config.background.enabled ? Screens.screens : []
|
||||||
active: Config.background.enabled
|
|
||||||
|
|
||||||
sourceComponent: Variants {
|
|
||||||
model: Screens.screens
|
|
||||||
|
|
||||||
StyledWindow {
|
StyledWindow {
|
||||||
id: win
|
id: win
|
||||||
|
|
@ -162,5 +158,4 @@ Loader {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue