diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-08-18 12:22:09 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-08-18 12:22:09 (GMT) |
commit | 74d519f87e804b624ac76337fe2905d512d363fc (patch) | |
tree | 74af6d52f0d3fb7867f4bb149c2b2b667bf414c5 /src/gui/kernel/qapplication_qpa.cpp | |
parent | 411525a29e1d98c5e2a7052307bcd9e386710f26 (diff) | |
download | Qt-74d519f87e804b624ac76337fe2905d512d363fc.zip Qt-74d519f87e804b624ac76337fe2905d512d363fc.tar.gz Qt-74d519f87e804b624ac76337fe2905d512d363fc.tar.bz2 |
Lighthouse: don't force sending key events to the TLW
Diffstat (limited to 'src/gui/kernel/qapplication_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qapplication_qpa.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/kernel/qapplication_qpa.cpp b/src/gui/kernel/qapplication_qpa.cpp index b89e81d..e5b5396 100644 --- a/src/gui/kernel/qapplication_qpa.cpp +++ b/src/gui/kernel/qapplication_qpa.cpp @@ -802,9 +802,6 @@ void QApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEven if (app_do_modal && !qt_try_modal(focusW, e->keyType)) return; - if (!focusW->isWindow()) - focusW = focusW->window(); - modifiers = e->modifiers; QKeyEvent ev(e->keyType, e->key, e->modifiers, e->unicode, e->repeat, e->repeatCount); QApplication::sendSpontaneousEvent(focusW, &ev); |