mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 06:19:17 +02:00
LCL: qt: fixed compilation
git-svn-id: trunk@46932 -
This commit is contained in:
parent
cd3aa9823e
commit
c7a30dac48
@ -318,7 +318,7 @@ uses
|
|||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
Graphics, buttons, Menus,
|
Graphics, buttons, Menus,
|
||||||
// Bindings
|
// Bindings
|
||||||
qtwidgets, qtobjects, qtsystemtrayicon;
|
QtWSFactory, qtwidgets, qtobjects, qtsystemtrayicon;
|
||||||
|
|
||||||
function DTFlagsToQtFlags(const Flags: Cardinal): Integer;
|
function DTFlagsToQtFlags(const Flags: Cardinal): Integer;
|
||||||
begin
|
begin
|
||||||
|
@ -556,5 +556,14 @@ begin
|
|||||||
Result := False;
|
Result := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure Init;
|
||||||
|
begin
|
||||||
|
// Keep a dummy Init to hide compiler messages "unit not used".
|
||||||
|
// The unit is used by the "alias" functions.
|
||||||
|
end;
|
||||||
|
|
||||||
|
initialization
|
||||||
|
Init;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user