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.config
|
||||
|
||||
Loader {
|
||||
asynchronous: true
|
||||
active: Config.background.enabled
|
||||
|
||||
sourceComponent: Variants {
|
||||
model: Screens.screens
|
||||
Variants {
|
||||
model: Config.background.enabled ? Screens.screens : []
|
||||
|
||||
StyledWindow {
|
||||
id: win
|
||||
|
|
@ -163,4 +159,3 @@ Loader {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue