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

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

git-svn-id: trunk@52406 -
parent 04f0bf21
......@@ -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;
{------------------------------------------------------------------------------
......
Supports Markdown
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