Explicitly pass QFont to QPainter
Hopefully this will solve build for macOS.
This commit is contained in:
parent
d68deebf87
commit
8ce091c159
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ public:
|
||||||
}
|
}
|
||||||
void setFont(const style::font &font) {
|
void setFont(const style::font &font) {
|
||||||
_ascent = font->ascent;
|
_ascent = font->ascent;
|
||||||
QPainter::setFont(font);
|
QPainter::setFont(font->f);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue