summary refs log tree commit diff
path: root/resources/qml/pages/UserSettingsPage.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-02 01:29:05 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-08 22:32:07 +0200
commit54e2295c214874a316d22eaedaf5c2db17b59df0 (patch)
tree2c88e09be38e2758dfcd3fe6732da484f99d94c5 /resources/qml/pages/UserSettingsPage.qml
parentFirst runnable qt6 Nheko (diff)
downloadnheko-54e2295c214874a316d22eaedaf5c2db17b59df0.tar.xz
Fix palette access and QMediaPlayer errors
Diffstat (limited to 'resources/qml/pages/UserSettingsPage.qml')
-rw-r--r--resources/qml/pages/UserSettingsPage.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/resources/qml/pages/UserSettingsPage.qml b/resources/qml/pages/UserSettingsPage.qml

index 5c2ebf5f..08581ac5 100644 --- a/resources/qml/pages/UserSettingsPage.qml +++ b/resources/qml/pages/UserSettingsPage.qml
@@ -16,12 +16,11 @@ Rectangle { property int collapsePoint: 600 property bool collapsed: width < collapsePoint - color: Nheko.colors.window + color: palette.window ScrollView { id: scroll - palette: Nheko.colors ScrollBar.horizontal.visible: false anchors.fill: parent anchors.topMargin: (collapsed? backButton.height : 0)+Nheko.paddingLarge @@ -51,7 +50,7 @@ Rectangle { Label { Layout.alignment: Qt.AlignLeft Layout.fillWidth: true - color: Nheko.colors.text + color: palette.text text: model.name //Layout.column: 0 Layout.columnSpan: (model.type == UserSettingsModel.SectionTitle && !userSettingsDialog.collapsed) ? 2 : 1 @@ -159,7 +158,7 @@ Rectangle { DelegateChoice { roleValue: UserSettingsModel.ReadOnlyText TextEdit { - color: Nheko.colors.text + color: palette.text text: model.value readOnly: true selectByMouse: !Settings.mobileMode @@ -176,7 +175,7 @@ Rectangle { anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right - color: Nheko.colors.buttonText + color: palette.buttonText height: 1 } }