qt: simplify TQtWidget.GetWidget

git-svn-id: trunk@38889 -
This commit is contained in:
blikblum 2012-09-29 01:38:07 +00:00
parent 5380fecc6f
commit 4443b9ae3f

View File

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