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

Qt: more safe delete of viewport. issue #28264

git-svn-id: trunk@49299 -
parent 5029e7c4
......@@ -16741,7 +16741,9 @@ begin
begin
QLCLAbstractScrollArea_override_viewportEvent(QLCLAbstractScrollAreaH(Widget),
QLCLAbstractScrollArea_viewportEvent_Override(NilMethod));
FreeAndNil(FViewPortWidget);
FViewPortWidget.FOwner := nil;
FViewPortWidget.Release;
FViewPortWidget := nil;
end;
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