summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-11-20 07:56:40 (GMT)
committeraxis <qt-info@nokia.com>2009-11-20 07:56:40 (GMT)
commitd9fa92933ff6ff1afad342f7f94e37f810cf8176 (patch)
tree77e2c90877ea528d71755e7322c025c8284636a7 /src/gui/kernel
parenta8c8c2274d2d0a708786adbb357013955f99c0af (diff)
parentc7d7fae74f3b8df9e5b07493a36db31f2c499699 (diff)
downloadQt-d9fa92933ff6ff1afad342f7f94e37f810cf8176.zip
Qt-d9fa92933ff6ff1afad342f7f94e37f810cf8176.tar.gz
Qt-d9fa92933ff6ff1afad342f7f94e37f810cf8176.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6-staging2
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp2
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.