mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 05:39:29 +02:00
Qt,Qt5: fixed crash with THintWindow. issue #36773
git-svn-id: trunk@62717 -
This commit is contained in:
parent
2b84e231a5
commit
bb08087468
@ -18360,9 +18360,10 @@ begin
|
||||
if AParams.WndParent <> 0 then
|
||||
Parent := TQtWidget(AParams.WndParent).GetContainerWidget
|
||||
else
|
||||
{issue #36773
|
||||
if QApplication_activeModalWidget <> nil then
|
||||
Parent := QApplication_activeModalWidget
|
||||
else
|
||||
else}
|
||||
Parent := nil;
|
||||
Result := QWidget_create(Parent, QtToolTip);
|
||||
FDeleteLater := True;
|
||||
|
@ -18312,9 +18312,10 @@ begin
|
||||
if AParams.WndParent <> 0 then
|
||||
Parent := TQtWidget(AParams.WndParent).GetContainerWidget
|
||||
else
|
||||
{issue #36773
|
||||
if QApplication_activeModalWidget <> nil then
|
||||
Parent := QApplication_activeModalWidget
|
||||
else
|
||||
else}
|
||||
Parent := nil;
|
||||
Result := QWidget_create(Parent, QtToolTip);
|
||||
FDeleteLater := True;
|
||||
|
Loading…
Reference in New Issue
Block a user