mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 16:49:28 +02:00
Qt5: simplified code
git-svn-id: trunk@62898 -
This commit is contained in:
parent
fee54a4bf2
commit
6ae0f6b158
@ -3285,11 +3285,8 @@ begin
|
||||
end;
|
||||
|
||||
function TQtDeviceContext.getDepth: integer;
|
||||
var
|
||||
device: QPaintDeviceH;
|
||||
begin
|
||||
device := QPainter_device(Widget);
|
||||
Result := QPaintDevice_depth(Device);
|
||||
Result := QPaintDevice_depth(QPainter_device(Widget));
|
||||
end;
|
||||
|
||||
function TQtDeviceContext.getDeviceSize: TPoint;
|
||||
|
Loading…
Reference in New Issue
Block a user