|
Line
Link Here
|
| 0 |
-- src/kernel/qapplication_x11.cpp.sav 2005-06-15 15:43:02.000000000 +0200 |
0 |
++ src/kernel/qapplication_x11.cpp 2005-06-15 16:26:36.000000000 +0200 |
|
Lines 5209-5219
bool QETWidget::translateKeyEventInterna
Link Here
|
| 5209 |
} else { |
5209 |
} else { |
| 5210 |
key = (int)(long)keyDict->find( keycode ); |
5210 |
key = (int)(long)keyDict->find( keycode ); |
| 5211 |
if ( key ) |
5211 |
if ( key ) |
| 5212 |
if( !willRepeat ) // Take out key of dictionary only if this call. |
5212 |
if( !willRepeat && statefulTranslation ) // Take out key of dictionary only if this call. |
| 5213 |
keyDict->take( keycode ); |
5213 |
keyDict->take( keycode ); |
| 5214 |
long s = (long)textDict->find( keycode ); |
5214 |
long s = (long)textDict->find( keycode ); |
| 5215 |
if ( s ) { |
5215 |
if ( s ) { |
| 5216 |
textDict->take( keycode ); |
5216 |
if( statefulTranslation ) |
|
|
5217 |
textDict->take( keycode ); |
| 5217 |
ascii = (char)(s-256); |
5218 |
ascii = (char)(s-256); |
| 5218 |
} |
5219 |
} |
| 5219 |
} |
5220 |
} |