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

Qt,Qt5: fix issue with TRadioGroup and TCheckGroup after minimizing & restoring form. issue #36195

git-svn-id: trunk@62075 -
parent fd094740
......@@ -8694,9 +8694,11 @@ begin
R1 := Rect(0, 0, 0, 0);
Result := R;
OffsetRect(Result, -Result.Left, -Result.Top);
{$IFNDEF HASX11}
if testAttribute(QtWA_Mapped) and QWidget_testAttribute(FCentralWidget, QtWA_Mapped) then
QWidget_rect(FCentralWidget, @Result)
else
{$ENDIF}
begin
if Assigned(FCentralWidget) and not IsRectEmpty(R1) then
begin
......
......@@ -8601,9 +8601,11 @@ begin
R1 := Rect(0, 0, 0, 0);
Result := R;
OffsetRect(Result, -Result.Left, -Result.Top);
{$IFNDEF HASX11}
if testAttribute(QtWA_Mapped) and QWidget_testAttribute(FCentralWidget, QtWA_Mapped) then
QWidget_rect(FCentralWidget, @Result)
else
{$ENDIF}
begin
if Assigned(FCentralWidget) and not IsRectEmpty(R1) then
begin
......
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