Line edit displays garbage when pressing up or down arrow keys (Cocoa).
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>
Fri, 17 Apr 2009 09:13:34 +0000 (11:13 +0200)
committerJason McDonald <jason.mcdonald@nokia.com>
Fri, 17 Apr 2009 13:26:48 +0000 (23:26 +1000)
commit9de17b04a82127f0a0ae941d490d5183fcac13b2
tree83f17b3c15cca9ae7067166f3f0ede77cdb5e861
parent891cff5a6971a54fee32ca5b22d2eddf76667886
Line edit displays garbage when pressing up or down arrow keys (Cocoa).

The unicode characters between 0xF700 & 0xF8FF are special function-key
code characters used by the NSEvent. These characters have to be ignored
when converting to a QString.

Task-number:244486
Reviewed-by:nrc
(cherry picked from commit 5d39d424a92d89243207d8370d0fa1c6c8061668)
src/gui/kernel/qt_cocoa_helpers_mac.mm