Removed Qt::ImhMultiLine

Multi line information does not really work that well as
input method hint. Application developer is the one setting
value for the hint, and thus would be responsible for
always having right value for multi line.

Change-Id: I6102be95549f6f6d4da40845f52d5c873cd46a47
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Pekka Vuorela 2012-01-02 16:21:48 +02:00 committed by Qt by Nokia
parent 55a0b33994
commit ad22c0c7cf
3 changed files with 0 additions and 3 deletions

View File

@ -1297,7 +1297,6 @@ public:
ImhDate = 0x80,
ImhTime = 0x100,
ImhMultiLine = 0x200,
ImhDigitsOnly = 0x10000,
ImhFormattedNumbersOnly = 0x20000,

View File

@ -2429,7 +2429,6 @@
\value ImhDate The text editor functions as a date field.
\value ImhTime The text editor functions as a time field.
\value ImhMultiLine The text editor accepts multi-line content.
Flags that restrict input (exclusive flags):

View File

@ -179,7 +179,6 @@ void QTextEditPrivate::init(const QString &html)
q->setFocusPolicy(Qt::WheelFocus);
q->setAttribute(Qt::WA_KeyCompression);
q->setAttribute(Qt::WA_InputMethodEnabled);
q->setInputMethodHints(Qt::ImhMultiLine);
#ifndef QT_NO_CURSOR
viewport->setCursor(Qt::IBeamCursor);