mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 09:09:32 +02:00
qt: revert commit of debug code
git-svn-id: trunk@16561 -
This commit is contained in:
parent
362c46dac6
commit
7a25527898
@ -1868,11 +1868,11 @@ begin
|
||||
KeyMsg.KeyData := QtKeyModifiersToKeyState(Modifiers);
|
||||
|
||||
{$ifdef windows}
|
||||
//ACharCode := QKeyEvent_nativeVirtualKey(QKeyEventH(Event));
|
||||
//KeyMsg.CharCode := ACharCode;
|
||||
ACharCode := QKeyEvent_nativeVirtualKey(QKeyEventH(Event));
|
||||
KeyMsg.CharCode := ACharCode;
|
||||
// todo: VK to Win_VK for other os too
|
||||
WriteLn(QKeyEvent_nativeVirtualKey(QKeyEventH(Event)));
|
||||
WriteLn(QKeyEvent_nativeScanCode(QKeyEventH(Event)));
|
||||
//WriteLn(QKeyEvent_nativeVirtualKey(QKeyEventH(Event)));
|
||||
//WriteLn(QKeyEvent_nativeScanCode(QKeyEventH(Event)));
|
||||
{$endif}
|
||||
|
||||
// Loads the UTF-8 character associated with the keypress, if any
|
||||
|
Loading…
Reference in New Issue
Block a user