feat: async launcher
This commit is contained in:
parent
96ed5895d8
commit
c20ea3fabf
4 changed files with 5 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ Item {
|
||||||
Loader {
|
Loader {
|
||||||
id: wallpaperList
|
id: wallpaperList
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
active: false
|
active: false
|
||||||
|
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ Item {
|
||||||
IconImage {
|
IconImage {
|
||||||
id: icon
|
id: icon
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
source: Quickshell.iconPath(root.modelData?.icon, "image-missing")
|
source: Quickshell.iconPath(root.modelData?.icon, "image-missing")
|
||||||
implicitSize: parent.height * 0.8
|
implicitSize: parent.height * 0.8
|
||||||
|
|
||||||
|
|
@ -74,6 +75,7 @@ Item {
|
||||||
Loader {
|
Loader {
|
||||||
id: favouriteIcon
|
id: favouriteIcon
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
active: modelData && Strings.testRegexList(Config.launcher.favouriteApps, modelData.id)
|
active: modelData && Strings.testRegexList(Config.launcher.favouriteApps, modelData.id)
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,7 @@ Item {
|
||||||
Loader {
|
Loader {
|
||||||
id: current
|
id: current
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@ Item {
|
||||||
Loader {
|
Loader {
|
||||||
id: current
|
id: current
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue