summaryrefslogtreecommitdiff
path: root/gui/main.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-10-04 17:31:41 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-10-06 18:38:22 +0200
commit5ff2eb132351f5a289e177300c9472af0616c550 (patch)
tree0c22f24cc1724fb6f558bcfb339e4c3078274ca4 /gui/main.qml
parent2c13aa8076391d471ae3d434d0410b9c573c986a (diff)
[ui] lightning icon as svg
Diffstat (limited to 'gui/main.qml')
-rw-r--r--gui/main.qml8
1 files changed, 5 insertions, 3 deletions
diff --git a/gui/main.qml b/gui/main.qml
index 7469620..7fd38ab 100644
--- a/gui/main.qml
+++ b/gui/main.qml
@@ -78,9 +78,6 @@ ApplicationWindow {
source: "qrc:/roboto-bold.ttf"
}
- font.family: robotoFont.name
- font.weight: Font.Light
-
Loader {
id: loader
asynchronous: true
@@ -171,5 +168,10 @@ ApplicationWindow {
Component.onCompleted: {
loader.source = "components/Splash.qml"
+ if (Qt.platform.os === "osx") {
+ // XXX workaround for custom font not working in osx
+ root.font.family = robotoFont.name
+ root.font.weight = Font.Light
+ }
}
}