summary refs log tree commit diff
path: root/resources/qml/voip/CallDevices.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-05-13 08:23:56 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-05-13 08:23:56 +0200
commita7f8b23b524c5e3af72e42fde118706e94a454f3 (patch)
treec3918f64578ee97b89dba41ae169baea09a061e6 /resources/qml/voip/CallDevices.qml
parentFix warning on gcc11 (diff)
downloadnheko-a7f8b23b524c5e3af72e42fde118706e94a454f3.tar.xz
Make palette global in Qml
Diffstat (limited to 'resources/qml/voip/CallDevices.qml')
-rw-r--r--resources/qml/voip/CallDevices.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/qml/voip/CallDevices.qml b/resources/qml/voip/CallDevices.qml

index 11644797..824bb2e0 100644 --- a/resources/qml/voip/CallDevices.qml +++ b/resources/qml/voip/CallDevices.qml
@@ -9,7 +9,7 @@ import im.nheko 1.0 Popup { modal: true - palette: colors + palette: Nheko.colors // only set the anchors on Qt 5.12 or higher // see https://doc.qt.io/qt-5/qml-qtquick-controls2-popup.html#anchors.centerIn-prop Component.onCompleted: { @@ -31,7 +31,7 @@ Popup { Image { Layout.preferredWidth: 22 Layout.preferredHeight: 22 - source: "image://colorimage/:/icons/icons/ui/microphone-unmute.png?" + colors.windowText + source: "image://colorimage/:/icons/icons/ui/microphone-unmute.png?" + Nheko.colors.windowText } ComboBox { @@ -49,7 +49,7 @@ Popup { Image { Layout.preferredWidth: 22 Layout.preferredHeight: 22 - source: "image://colorimage/:/icons/icons/ui/video-call.png?" + colors.windowText + source: "image://colorimage/:/icons/icons/ui/video-call.png?" + Nheko.colors.windowText } ComboBox { @@ -81,8 +81,8 @@ Popup { } background: Rectangle { - color: colors.window - border.color: colors.windowText + color: Nheko.colors.window + border.color: Nheko.colors.windowText } }