mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 09:29:27 +02:00
qt: simplify TQtWidget.GetWidget
git-svn-id: trunk@38889 -
This commit is contained in:
parent
5380fecc6f
commit
4443b9ae3f
@ -5039,10 +5039,7 @@ end;
|
||||
|
||||
function TQtWidget.GetWidget: QWidgetH;
|
||||
begin
|
||||
if TheObject <> nil then
|
||||
Result := QWidgetH(TheObject)
|
||||
else
|
||||
Result := nil;
|
||||
Result := QWidgetH(TheObject);
|
||||
end;
|
||||
|
||||
function TQtWidget.DeliverMessage(var Msg;
|
||||
|
Loading…
Reference in New Issue
Block a user