Qt: fixed compilation under darwin

git-svn-id: trunk@35766 -
This commit is contained in:
zeljko 2012-03-06 12:34:33 +00:00
parent afcca990e6
commit 4a22638b3e

View File

@ -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;