mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 13:20:18 +02:00
Qt: fixed compilation under darwin
git-svn-id: trunk@35766 -
This commit is contained in:
parent
afcca990e6
commit
4a22638b3e
@ -2781,7 +2781,8 @@ begin
|
||||
(ScanCode <> QtKey_Right) and (ScanCode <> QtKey_Down) then
|
||||
begin
|
||||
Modifiers := QtGroupSwitchModifier;
|
||||
KeyMsg.KeyData := QtKeyModifiersToKeyState(Modifiers);
|
||||
LCLModifiers := QtKeyModifiersToKeyState(Modifiers, True, QKeyEventH(Event));
|
||||
KeyMsg.KeyData := PtrInt((LCLModifiers shl 16) or $0001);
|
||||
IsSysKey := False; // was true above
|
||||
end;
|
||||
ScanCode := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user