mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 04:40:54 +02:00
parent
6756799c39
commit
d2aee554cb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user