2014-01-22 02:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/gtqtc/gtqtc1.cpp
    ! do not set Qt::WA_KeyCompression attribute - farther tests shows
      that on some platforms QT eats characters which incomes from device
      (i.e. from barcode readers) very fast
This commit is contained in:
Przemysław Czerpak
2014-01-22 02:57:18 +01:00
parent 6a0dea1cac
commit 5ff00afb8c
2 changed files with 10 additions and 1 deletions

View File

@@ -10,6 +10,12 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2014-01-22 02:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
! do not set Qt::WA_KeyCompression attribute - farther tests shows
that on some platforms QT eats characters which incomes from device
(i.e. from barcode readers) very fast
2014-01-22 02:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
; modifications taken from Viktor's branch.

View File

@@ -2461,7 +2461,10 @@ QTConsole::QTConsole( PHB_GTQTC pStructQTC, QWidget *parent ) : QWidget( parent
setAttribute( Qt::WA_StaticContents );
setAttribute( Qt::WA_OpaquePaintEvent );
setAttribute( Qt::WA_KeyCompression );
/* Warning! Qt::WA_KeyCompression attribute creates problems when
* barcode readers are used - some characters are eaten [druzus]
*/
/* setAttribute( Qt::WA_KeyCompression ); */
/* Qt::WA_InputMethodEnabled disables support for
* national characters in few European countries