2013-06-05 19:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/gtqtc/gtqtc1.cpp
    ! added workaround for AltGR and German keyboard
This commit is contained in:
Przemysław Czerpak
2013-06-05 19:15:42 +02:00
parent 2a22103f05
commit 622d041bf0
2 changed files with 7 additions and 0 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-06-05 19:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
! added workaround for AltGR and German keyboard
2013-06-05 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/hashes.c
! remove index when natural order is disabled by

View File

@@ -2985,6 +2985,9 @@ void QTConsole::keyPressEvent( QKeyEvent * event )
HB_WCHAR wc = event->text().constData()[ 0 ].unicode();
if( wc >= 32 && wc != 127 )
{
if( ( iFlags & HB_KF_CTRL ) != 0 && ( iFlags & HB_KF_ALT ) != 0 )
/* workaround for AltGR and German keyboard */
iFlags &= ~( HB_KF_CTRL | HB_KF_ALT );
hb_gt_qtc_addKeyToInputQueue( pQTC, HB_INKEY_NEW_UNICODEF( wc, iFlags ) );
return;
}