mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 15:56:08 +02:00
*(Qt) fixed wrong cast in TQtWSWinControl.GetPreferredSize()
git-svn-id: trunk@11650 -
This commit is contained in:
parent
465f37f903
commit
e6d4a42970
@ -325,7 +325,7 @@ begin
|
||||
{$ifdef VerboseQt}
|
||||
WriteLn('> TQtWSWinControl.GetPreferredSSize for ',dbgsname(AWinControl));
|
||||
{$endif}
|
||||
QWidget_sizeHint(TQtCheckBox(AWinControl.Handle).Widget, @PrefSize);
|
||||
QWidget_sizeHint(TQtWidget(AWinControl.Handle).Widget, @PrefSize);
|
||||
if (PrefSize.cx >= 0)
|
||||
and (PrefSize.cy >=0) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user