summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-10-06 16:05:17 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-10-07 03:05:37 (GMT)
commitdab2fdd3b3ac147ff251102b20dc0dca3a97bb92 (patch)
tree21ef14ad3bb0ee52386224b53c8feda88e307488 /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
parente5948fdb892810b5b783ceb4205a1eacd2a89a79 (diff)
downloadQt-dab2fdd3b3ac147ff251102b20dc0dca3a97bb92.zip
Qt-dab2fdd3b3ac147ff251102b20dc0dca3a97bb92.tar.gz
Qt-dab2fdd3b3ac147ff251102b20dc0dca3a97bb92.tar.bz2
Prevent OK key being processed twice in file dialog (keypad navigation)
All key events were being explicitly ignored by the file dialog when key navigation is enabled, and it doesn't have edit focus. When a file is opened by pressing the OK key, there is no edit focus after returning from accept() and the OK key can propagate outside the modal dialog. This causes the parent widget to receive and act upon the OK key as well which makes problems - e.g. in QTBUG-4724, recursive menu activation Task-number: QTBUG-4724 Reviewed-by: Alessandro Portale (cherry picked from commit 28cdb974cce58111a19e8691f4dd929a5c9f74ea)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions