aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgtextinput_p_p.h
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2011-09-28 16:56:36 +0300
committerQt by Nokia <qt-info@nokia.com>2011-09-29 08:31:26 +0200
commit65f07f3b95408b0a85590571118dd59a4171a9a2 (patch)
tree63cd985c7ce0eb63078f9daaa32493eeb02225ec /src/declarative/items/qsgtextinput_p_p.h
parent8120e8c2d9bc73adc29a85b8d8962ad556b74722 (diff)
Fix TextInput and TextEdit openInputPanel autotests
Task-number: QTBUG-21691 The change also removes showInputPanelOnClick code from the TextInput and TextEdit, which was done to support Symbian^1 and ^3 fullscreen keyboards. Now by default the keyboard always follows editor focus. Change-Id: Id60a17fe51b3aa49ba9ea81b985e608e91c26145 Reviewed-on: http://codereview.qt-project.org/5733 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/declarative/items/qsgtextinput_p_p.h')
-rw-r--r--src/declarative/items/qsgtextinput_p_p.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/declarative/items/qsgtextinput_p_p.h b/src/declarative/items/qsgtextinput_p_p.h
index 7022dd734e..ed2395bb0e 100644
--- a/src/declarative/items/qsgtextinput_p_p.h
+++ b/src/declarative/items/qsgtextinput_p_p.h
@@ -88,8 +88,6 @@ public:
, oldValidity(false)
, focused(false)
, focusOnPress(true)
- , showInputPanelOnFocus(true)
- , clickCausedFocus(false)
, cursorVisible(false)
, autoScroll(true)
, selectByMouse(false)
@@ -98,11 +96,6 @@ public:
, selectPressed(false)
, textLayoutDirty(true)
{
-#ifdef Q_OS_SYMBIAN
- if (QSysInfo::symbianVersion() == QSysInfo::SV_SF_1 || QSysInfo::symbianVersion() == QSysInfo::SV_SF_3) {
- showInputPanelOnFocus = false;
- }
-#endif
}
~QSGTextInputPrivate()
@@ -158,8 +151,6 @@ public:
bool oldValidity:1;
bool focused:1;
bool focusOnPress:1;
- bool showInputPanelOnFocus:1;
- bool clickCausedFocus:1;
bool cursorVisible:1;
bool autoScroll:1;
bool selectByMouse:1;