From 54e2295c214874a316d22eaedaf5c2db17b59df0 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 2 Jun 2023 01:29:05 +0200 Subject: Fix palette access and QMediaPlayer errors --- resources/qml/dialogs/CreateDirect.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resources/qml/dialogs/CreateDirect.qml') diff --git a/resources/qml/dialogs/CreateDirect.qml b/resources/qml/dialogs/CreateDirect.qml index 4ce568bb..75013970 100644 --- a/resources/qml/dialogs/CreateDirect.qml +++ b/resources/qml/dialogs/CreateDirect.qml @@ -55,14 +55,14 @@ ApplicationWindow { Label { Layout.fillWidth: true text: profile? profile.displayName : "" - color: TimelineManager.userColor(userID.text, Nheko.colors.window) + color: TimelineManager.userColor(userID.text, palette.window) font.pointSize: fontMetrics.font.pointSize } Label { Layout.fillWidth: true text: userID.text - color: Nheko.colors.buttonText + color: palette.buttonText font.pointSize: fontMetrics.font.pointSize * 0.9 } } @@ -89,7 +89,7 @@ ApplicationWindow { Layout.fillWidth: true Layout.alignment: Qt.AlignLeft text: qsTr("Encryption") - color: Nheko.colors.text + color: palette.text } ToggleButton { Layout.alignment: Qt.AlignRight -- cgit 1.5.1