summaryrefslogtreecommitdiff
path: root/modules/controlcenter/appearance/AppearancePane.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/controlcenter/appearance/AppearancePane.qml')
-rw-r--r--modules/controlcenter/appearance/AppearancePane.qml14
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/controlcenter/appearance/AppearancePane.qml b/modules/controlcenter/appearance/AppearancePane.qml
index 218433b..822edad 100644
--- a/modules/controlcenter/appearance/AppearancePane.qml
+++ b/modules/controlcenter/appearance/AppearancePane.qml
@@ -116,11 +116,11 @@ Item {
Loader {
id: wallpaperLoader
-
+
Layout.fillWidth: true
Layout.fillHeight: true
Layout.bottomMargin: -Appearance.padding.large * 2
-
+
active: {
const isActive = root.session.activeIndex === 3;
const isAdjacent = Math.abs(root.session.activeIndex - 3) === 1;
@@ -129,13 +129,13 @@ Item {
const shouldActivate = loader && loader.item !== null && (isActive || isAdjacent);
return shouldActivate;
}
-
+
onStatusChanged: {
if (status === Loader.Error) {
console.error("[AppearancePane] Wallpaper loader error!");
}
}
-
+
sourceComponent: WallpaperGrid {
session: root.session
}
@@ -165,10 +165,10 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
spacing: Appearance.spacing.small
-
+
readonly property var rootPane: sidebarFlickable.rootPane
- readonly property bool allSectionsExpanded:
+ readonly property bool allSectionsExpanded:
themeModeSection.expanded &&
colorVariantSection.expanded &&
colorSchemeSection.expanded &&
@@ -255,7 +255,5 @@ Item {
}
}
}
-
- rightContent: appearanceRightContentComponent
}
}