mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:39:18 +02:00
fix compilation for non 4.3 qt issue(0009949)
git-svn-id: trunk@12485 -
This commit is contained in:
parent
87a572d2ad
commit
9db54bbccc
@ -3298,11 +3298,10 @@ begin
|
||||
end;
|
||||
{$else}
|
||||
if (TCustomForm(LCLObject).FormStyle = fsSplash) and
|
||||
not (csDesigning in ComponentState) then
|
||||
then
|
||||
Result := QWidget_create(nil, QtSplashScreen);
|
||||
not (csDesigning in LCLObject.ComponentState) then
|
||||
Result := QWidget_create(nil, QtSplashScreen)
|
||||
else
|
||||
Result := QWidget_create(nil, QtWindow);
|
||||
Result := QWidget_create(nil, QtWindow);
|
||||
{$endif}
|
||||
|
||||
// Main menu bar
|
||||
|
Loading…
Reference in New Issue
Block a user