diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/blackberry/qbbvirtualkeyboard.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/blackberry/qbbvirtualkeyboard.cpp b/src/plugins/platforms/blackberry/qbbvirtualkeyboard.cpp index 5e7d1fe..f32d21a 100644 --- a/src/plugins/platforms/blackberry/qbbvirtualkeyboard.cpp +++ b/src/plugins/platforms/blackberry/qbbvirtualkeyboard.cpp @@ -275,15 +275,15 @@ void QBBVirtualKeyboard::handleKeyboardInfoMessage() } if (pps_decoder_get_string(mDecoder, "languageId", &value) != PPS_DECODER_OK) { qCritical("QBBVirtualKeyboard: Keyboard PPS languageId field not found"); - mLanguageId = QString::fromLatin1(value); return; } + mLanguageId = QString::fromLatin1(value); + if (pps_decoder_get_string(mDecoder, "countryId", &value) != PPS_DECODER_OK) { qCritical("QBBVirtualKeyboard: Keyboard PPS size countryId not found"); - mCountryId = QString::fromLatin1(value); return; } - + mCountryId = QString::fromLatin1(value); // HUGE hack, should be removed ASAP. newHeight -= KEYBOARD_SHADOW_HEIGHT; // We want to ignore the 8 pixel shadow above the keyboard. (PR 88400) |