diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-10-04 17:31:41 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-23 21:51:18 +0100 |
commit | 90cee03534a1f078a144648f676ec6b0364fd726 (patch) | |
tree | f335c9fad2be76d5d6de72ccf02de1add8f55921 /gui/main.qml | |
parent | 7691f0f2967f721f3dee100956982ff625d7d945 (diff) |
[ui] lightning icon as svg
Diffstat (limited to 'gui/main.qml')
-rw-r--r-- | gui/main.qml | 8 |
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 + } } } |