summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-20 14:08:26 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-20 14:08:26 (GMT)
commit991a5ed5a8dc0c81d56c88823bd69d986618d4e5 (patch)
treed0391f75f14d3dfcf10773006869da3b574dd136 /src/gui/kernel
parentea990fc4c575a76c46464e8b8caa2a03c64f067b (diff)
parentd9fa92933ff6ff1afad342f7f94e37f810cf8176 (diff)
downloadQt-991a5ed5a8dc0c81d56c88823bd69d986618d4e5.zip
Qt-991a5ed5a8dc0c81d56c88823bd69d986618d4e5.tar.gz
Qt-991a5ed5a8dc0c81d56c88823bd69d986618d4e5.tar.bz2
Merge commit 'd9fa92' into origin-4.6
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.