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

index 8a79f7d2..32efff22 100644 --- a/resources/qml/dialogs/AliasEditor.qml +++ b/resources/qml/dialogs/AliasEditor.qml
@@ -41,7 +41,7 @@ ApplicationWindow { font.pixelSize: Math.floor(fontMetrics.font.pixelSize * 1.1) Layout.fillWidth: true Layout.fillHeight: false - color: Nheko.colors.text + color: palette.text Layout.bottomMargin: Nheko.paddingMedium } @@ -69,7 +69,7 @@ ApplicationWindow { Text { Layout.fillWidth: true text: model.name - color: model.isPublished ? Nheko.colors.text : Nheko.theme.error + color: model.isPublished ? palette.text : Nheko.theme.error textFormat: Text.PlainText } @@ -78,8 +78,8 @@ ApplicationWindow { Layout.margins: 2 image: ":/icons/icons/ui/star.svg" hoverEnabled: true - buttonTextColor: model.isCanonical ? Nheko.colors.highlight : Nheko.colors.text - highlightColor: editingModel.canAdvertize ? Nheko.colors.highlight : buttonTextColor + buttonTextColor: model.isCanonical ? palette.highlight : palette.text + highlightColor: editingModel.canAdvertize ? palette.highlight : buttonTextColor ToolTip.visible: hovered ToolTip.text: model.isCanonical ? qsTr("Primary alias") : qsTr("Make primary alias") @@ -92,8 +92,8 @@ ApplicationWindow { Layout.margins: 2 image: ":/icons/icons/ui/building-shop.svg" hoverEnabled: true - buttonTextColor: model.isAdvertized ? Nheko.colors.highlight : Nheko.colors.text - highlightColor: editingModel.canAdvertize ? Nheko.colors.highlight : buttonTextColor + buttonTextColor: model.isAdvertized ? palette.highlight : palette.text + highlightColor: editingModel.canAdvertize ? palette.highlight : buttonTextColor ToolTip.visible: hovered ToolTip.text: qsTr("Advertise as an alias in this room") @@ -106,7 +106,7 @@ ApplicationWindow { Layout.margins: 2 image: ":/icons/icons/ui/room-directory.svg" hoverEnabled: true - buttonTextColor: model.isPublished ? Nheko.colors.highlight : Nheko.colors.text + buttonTextColor: model.isPublished ? palette.highlight : palette.text ToolTip.visible: hovered ToolTip.text: qsTr("Publish in room directory") @@ -139,7 +139,7 @@ ApplicationWindow { Layout.fillWidth: true selectByMouse: true font.pixelSize: fontMetrics.font.pixelSize - color: Nheko.colors.text + color: palette.text placeholderText: qsTr("#new-alias:server.tld") Component.onCompleted: forceActiveFocus()