diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-05-19 06:44:09 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-05-19 06:44:09 (GMT) |
commit | fd02170f2fd241b53a20668c6354249bdeab3e1a (patch) | |
tree | 02c7f568321bfa28190a0f27f95cea55d267db93 /src/declarative/graphicsitems/qdeclarativetextinput_p_p.h | |
parent | 36c51fe5229580ddaef7b7feb23822ecb775bffc (diff) | |
download | Qt-fd02170f2fd241b53a20668c6354249bdeab3e1a.zip Qt-fd02170f2fd241b53a20668c6354249bdeab3e1a.tar.gz Qt-fd02170f2fd241b53a20668c6354249bdeab3e1a.tar.bz2 |
Disable mouse-based selection in TextInput/TextEdit
Can still be turned back on, if people only want to target platforms
where the behaviour is acceptable.
Task-number: QTBUG-10684
Reviewed-by: Michael Brasser
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput_p_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput_p_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h index 99866b8..1d8e0f7 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h @@ -72,7 +72,8 @@ public: color((QRgb)0), style(QDeclarativeText::Normal), styleColor((QRgb)0), hAlign(QDeclarativeTextInput::AlignLeft), hscroll(0), oldScroll(0), focused(false), focusOnPress(true), - cursorVisible(false), autoScroll(true), clickCausedFocus(false) + cursorVisible(false), autoScroll(true), clickCausedFocus(false), + selectByMouse(false) { } @@ -117,6 +118,7 @@ public: bool cursorVisible; bool autoScroll; bool clickCausedFocus; + bool selectByMouse; }; QT_END_NAMESPACE |