Qt: fixed TQtWidgetSet.AngleChord(). issue #30194

git-svn-id: trunk@52406 -
This commit is contained in:
zeljko 2016-05-29 11:30:07 +00:00
parent 04f0bf21ef
commit d8ed66ce6a

View File

@ -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;
{------------------------------------------------------------------------------