Explicitly pass QFont to QPainter

Hopefully this will solve build for macOS.
This commit is contained in:
Eric Kotato 2020-02-26 20:25:10 +03:00
parent d68deebf87
commit 8ce091c159

View file

@ -76,7 +76,7 @@ public:
}
void setFont(const style::font &font) {
_ascent = font->ascent;
QPainter::setFont(font);
QPainter::setFont(font->f);
}
private: