From 90cee03534a1f078a144648f676ec6b0364fd726 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Mon, 4 Oct 2021 17:31:41 +0200 Subject: [ui] lightning icon as svg --- gui/main.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gui/main.qml') 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 + } } } -- cgit v1.2.3