mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 00:49:29 +02:00
Merged revision(s) 52406-52407 #d8ed66ce6a-#d8ed66ce6a from trunk:
Qt: fixed TQtWidgetSet.AngleChord(). issue #30194 ........ Qt: proper string conversion. ........ git-svn-id: branches/fixes_1_6@52458 -
This commit is contained in:
parent
070948cf18
commit
681dde5529
@ -1887,7 +1887,7 @@ var
|
||||
WStr: WideString;
|
||||
begin
|
||||
QObject_objectName(QApplication_style, @WStr);
|
||||
Result := UTF8ToUTF16(WStr);
|
||||
Result := UTF16ToUTF8(WStr);
|
||||
end;
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
@ -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