diff --git a/ChangeLog.txt b/ChangeLog.txt index df1ab6be61..642eaac012 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -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. diff --git a/contrib/gtqtc/gtqtc1.cpp b/contrib/gtqtc/gtqtc1.cpp index 2a7aee9531..c2120c7db1 100644 --- a/contrib/gtqtc/gtqtc1.cpp +++ b/contrib/gtqtc/gtqtc1.cpp @@ -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