mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 17:39:20 +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;
|
ScreenNumber: integer;
|
||||||
W,H: integer;
|
W,H: integer;
|
||||||
begin
|
begin
|
||||||
if AVisible then
|
// must use ClassType comparision here since qt is buggy about hints.#16551
|
||||||
|
if AVisible and (LCLObject.ClassType = THintWindow) then
|
||||||
begin
|
begin
|
||||||
R := getGeometry;
|
R := getGeometry;
|
||||||
W := R.Right - R.Left;
|
W := R.Right - R.Left;
|
||||||
|
Loading…
Reference in New Issue
Block a user