From 8ce091c15946b34e7370196224ccbcd5d3d4ba61 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Wed, 26 Feb 2020 20:25:10 +0300 Subject: [PATCH] Explicitly pass QFont to QPainter Hopefully this will solve build for macOS. --- ui/painter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/painter.h b/ui/painter.h index 59af3de..f497058 100644 --- a/ui/painter.h +++ b/ui/painter.h @@ -76,7 +76,7 @@ public: } void setFont(const style::font &font) { _ascent = font->ascent; - QPainter::setFont(font); + QPainter::setFont(font->f); } private: