diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-08-03 12:49:28 (GMT) |
---|---|---|
committer | Toby Tomkins <toby.tomkins@nokia.com> | 2010-08-04 03:48:37 (GMT) |
commit | 57738be581e35649d5b32a8dd30c6f01826e8bc5 (patch) | |
tree | 18fac085ffab62351efa7977e3ec0fffeafeffd7 /doc/src/snippets/code/src_network_socket_qnativesocketengine.cpp | |
parent | f4db30b8197e27707f98f4547a0528bd1d0cbd31 (diff) | |
download | Qt-57738be581e35649d5b32a8dd30c6f01826e8bc5.zip Qt-57738be581e35649d5b32a8dd30c6f01826e8bc5.tar.gz Qt-57738be581e35649d5b32a8dd30c6f01826e8bc5.tar.bz2 |
Crash when pressing the '£' key on Belgian Keyboard layout (Cocoa)
In some cases the NSKeyDown event won't have fully constructed string
in the [NSEvent characters]. So we need to add a guard before accessing
the elements of this NSString.
Task-number: QTBUG-12474
Reviewed-by: Richard Moe Gustavsen
(cherry picked from commit 307601da8d3b64de7b7d83a6de0b5dac290b0eb6)
Diffstat (limited to 'doc/src/snippets/code/src_network_socket_qnativesocketengine.cpp')
0 files changed, 0 insertions, 0 deletions