diff options
author | Peter Hansen <peter@engcorp.com> | 2012-06-14 14:39:47 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-19 07:41:42 (GMT) |
commit | f3f695ebcffcb69c0ae643757382442730e8b9d2 (patch) | |
tree | 7512913fe3bdaea274d3de35d4f3a358195d844f /src/plugins | |
parent | b1d6a93e4b0398a573add4a1eb0b6b924cc804bc (diff) | |
download | Qt-f3f695ebcffcb69c0ae643757382442730e8b9d2.zip Qt-f3f695ebcffcb69c0ae643757382442730e8b9d2.tar.gz Qt-f3f695ebcffcb69c0ae643757382442730e8b9d2.tar.bz2 |
Fix virtual keyboard setHeight() for Blackberry
Applies to Qt 4.8 only.
Task-number: QTBUG-26160
Change-Id: I4a110ade1f817cc5d9a866e57e1d710abd83d143
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.cpp | 2 | ||||
-rw-r--r-- | src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.cpp b/src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.cpp index 46e4cab..9397a55 100644 --- a/src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.cpp +++ b/src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.cpp @@ -74,7 +74,7 @@ void QBBAbstractVirtualKeyboard::setVisible(bool visible) emit heightChanged(getHeight()); } -void QBBAbstractVirtualKeyboard::setHeight(bool height) +void QBBAbstractVirtualKeyboard::setHeight(int height) { if (height == mHeight) return; diff --git a/src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.h b/src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.h index 8f2e09e..cb35c12 100644 --- a/src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.h +++ b/src/plugins/platforms/blackberry/qbbabstractvirtualkeyboard.h @@ -82,7 +82,7 @@ protected: virtual void applyKeyboardMode(KeyboardMode mode) = 0; void setVisible(bool visible); - void setHeight(bool height); + void setHeight(int height); void setLanguage(const QString &language); void setCountry(const QString &country); |