mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 02:09:21 +02:00
Qt: fixed TQtHintWindow.setVisible() for non THintWindow classtypes. fixes #16551
git-svn-id: trunk@25713 -
This commit is contained in:
parent
885dfcc950
commit
c350840ac0
@ -11365,7 +11365,8 @@ var
|
||||
ScreenNumber: integer;
|
||||
W,H: integer;
|
||||
begin
|
||||
if AVisible then
|
||||
// must use ClassType comparision here since qt is buggy about hints.#16551
|
||||
if AVisible and (LCLObject.ClassType = THintWindow) then
|
||||
begin
|
||||
R := getGeometry;
|
||||
W := R.Right - R.Left;
|
||||
|
Loading…
Reference in New Issue
Block a user