Commit d2aee554 authored by Željan Rikalo's avatar Željan Rikalo 🏊🏼
Browse files

Qt5: fixed issue with fonts. issue #36483

git-svn-id: trunk@62604 -
parent 6756799c
......@@ -3102,8 +3102,9 @@ begin
SelFont := AFont;
if (AFont.FHandle <> nil) and (Widget <> nil) then
begin
QFnt := QPainter_font(Widget);
AssignQtFont(AFont.FHandle, QFnt);
QFnt := QFont_Create(AFont.FHandle);
QPainter_setFont(Widget, QFnt);
QFont_destroy(QFnt);
vFont.Angle := AFont.Angle;
end;
end;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment