Fixed handling of keyboard info messages.
authorKevin Krammer <kevin.krammer.qnx@kdab.com>
Wed, 29 Feb 2012 15:08:38 +0000 (16:08 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 2 Mar 2012 21:51:19 +0000 (22:51 +0100)
commitf52634f4f41243105d0ac3ade3558c1bbff014c7
tree25e7aef358d0f71511b4881918d572b07ec12662
parentad1b5495a2a437d21435a9c321c9abf612cd210e
Fixed handling of keyboard info messages.

Country and language values were assigned to in the case of decoding failure
but left unchanged in case of success. Thus members mLanguageId and mCountryId
remained at "en" and "US" respectively instead of being changed to whatever
the keyboard sent.

Change-Id: I9f48a55d3c431458426c5c4da8e69600948f219b
Reviewed-by: Sean Harmer <sh@theharmers.co.uk>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Nick Ratelle <nratelle@qnx.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/blackberry/qbbvirtualkeyboard.cpp