mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 12:19:31 +02:00
Qt: fixed TQtWidgetSet.AngleChord(). issue #30194
git-svn-id: trunk@52406 -
This commit is contained in:
parent
04f0bf21ef
commit
d8ed66ce6a
@ -57,7 +57,7 @@ begin
|
||||
{$endif}
|
||||
Result := IsValidDC(DC);
|
||||
if Result then
|
||||
QPainter_drawChord(TQtDeviceContext(DC).Widget, x1, y1, x2, y2, Angle1, Angle2);
|
||||
QPainter_drawChord(TQtDeviceContext(DC).Widget, x1, y1, x2 - x1, y2 - y1, Angle1, Angle2);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user