diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-11-19 17:15:43 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-11-19 18:25:32 (GMT) |
commit | 593ea5ec3f08a8f39a8487161106cc0b28c1511f (patch) | |
tree | 52d842712b757af8ca8e94b928c8611bdd1c39be /src/gui | |
parent | 5f5e1b7aa5d03203346e00751b8bf15883944b25 (diff) | |
download | Qt-593ea5ec3f08a8f39a8487161106cc0b28c1511f.zip Qt-593ea5ec3f08a8f39a8487161106cc0b28c1511f.tar.gz Qt-593ea5ec3f08a8f39a8487161106cc0b28c1511f.tar.bz2 |
Symbian: QKeyEvent:isAutoRepeat() doesn't work
Task-number: QTBUG-6011
Reviewed-by: Gareth Stockwell
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index c7f0c00..85b6d00 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -712,7 +712,7 @@ TKeyResponse QSymbianControl::OfferKeyEvent(const TKeyEvent& keyEvent, TEventCod Qt::KeyboardModifiers mods = mapToQtModifiers(keyEvent.iModifiers); QKeyEventEx qKeyEvent(type == EEventKeyUp ? QEvent::KeyRelease : QEvent::KeyPress, keyCode, mods, qt_keymapper_private()->translateKeyEvent(keyCode, mods), - false, 1, keyEvent.iScanCode, s60Keysym, keyEvent.iModifiers); + (keyEvent.iRepeats != 0), 1, keyEvent.iScanCode, s60Keysym, keyEvent.iModifiers); // WId wid = reinterpret_cast<RWindowGroup *>(keyEvent.Handle())->Child(); // if (!wid) // Could happen if window isn't shown yet. |