Navigation Menu

Skip to content

Commit

Permalink
Remove use of Qt::ImhMultiLine, to be deprecated/removed
Browse files Browse the repository at this point in the history
Change-Id: I02a1611c945bf3804081bb9d0cd8da470a5774d8
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
  • Loading branch information
Pekka Vuorela authored and Qt by Nokia committed Jan 3, 2012
1 parent c00534e commit 9b571bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/quick/items/qquickitem.cpp
Expand Up @@ -2290,7 +2290,7 @@ QQuickItemPrivate::QQuickItemPrivate()
z(0), scale(1), rotation(0), opacity(1),

attachedLayoutDirection(0), acceptedMouseButtons(0),
imHints(Qt::ImhMultiLine),
imHints(Qt::ImhNone),

keyHandler(0),

Expand Down
1 change: 0 additions & 1 deletion src/quick/items/qquicktextinput.cpp
Expand Up @@ -2050,7 +2050,6 @@ void QQuickTextInputPrivate::init()
q, SLOT(q_canPasteChanged()));
#endif // QT_NO_CLIPBOARD

imHints &= ~Qt::ImhMultiLine;
oldValidity = hasAcceptableInput(m_text);
lastSelectionStart = 0;
lastSelectionEnd = 0;
Expand Down

0 comments on commit 9b571bd

Please sign in to comment.