summary refs log tree commit diff
path: root/resources/qml/components/TextButton.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/components/TextButton.qml
parentFirst runnable qt6 Nheko (diff)
downloadnheko-54e2295c214874a316d22eaedaf5c2db17b59df0.tar.xz
Fix palette access and QMediaPlayer errors
Diffstat (limited to 'resources/qml/components/TextButton.qml')
-rw-r--r--resources/qml/components/TextButton.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/components/TextButton.qml b/resources/qml/components/TextButton.qml

index a48aee2b..0b1ac270 100644 --- a/resources/qml/components/TextButton.qml +++ b/resources/qml/components/TextButton.qml
@@ -11,8 +11,8 @@ AbstractButton { id: button property alias cursor: mouseArea.cursorShape - property color highlightColor: Nheko.colors.highlight - property color buttonTextColor: Nheko.colors.buttonText + property color highlightColor: palette.highlight + property color buttonTextColor: palette.buttonText focusPolicy: Qt.NoFocus width: buttonText.implicitWidth