diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-03-09 17:14:52 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-03-17 14:47:54 (GMT) |
commit | 77230f7ec9e78ec2d57629ea934ceb1d59eb391e (patch) | |
tree | 87ce66625cc5d5ed0ff3271f8674f11efae3ddb7 /src/gui/widgets | |
parent | 90dfb5e5d8fc8cb841b0762cd88aa4b996c38312 (diff) | |
download | Qt-77230f7ec9e78ec2d57629ea934ceb1d59eb391e.zip Qt-77230f7ec9e78ec2d57629ea934ceb1d59eb391e.tar.gz Qt-77230f7ec9e78ec2d57629ea934ceb1d59eb391e.tar.bz2 |
Do not beep on Mac when pressing some keys.
When a key event is delivered to widgets, we should accept the event if the
widget reacted to it in any way - if either the current item has changed or if
the widget scrolled.
Task-number: QTBUG-6444
Reviewed-by: Prasanth
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/qlinecontrol.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/widgets/qlinecontrol.cpp b/src/gui/widgets/qlinecontrol.cpp index 8e715a9..42df800 100644 --- a/src/gui/widgets/qlinecontrol.cpp +++ b/src/gui/widgets/qlinecontrol.cpp @@ -1767,7 +1767,6 @@ void QLineControl::processKeyEvent(QKeyEvent* event) } break; #endif - default: if (!handled) unknown = true; |