If decodestring can't translate the string return Qt::Key_unknown.
authorDavid Faure <faure@kde.org>
Tue, 3 Jan 2012 12:34:49 +0000 (13:34 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 10 Jan 2012 01:02:29 +0000 (02:02 +0100)
commit3e2f32547de39133d8c4e2d2f70ed2254b2bcc76
tree015fcbe2e2006e58eb2fb52a2642a747913c965c
parent13c5c81cfa934c9b610720fe79e07465b00ebc8d
If decodestring can't translate the string return Qt::Key_unknown.

Change-Id: Ie082b326e944a28b4e29984a527e3841a05b32f6
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/gui/kernel/qkeysequence.cpp
tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp