Skip to content

Commit

Permalink
Remove unused init function.
Browse files Browse the repository at this point in the history
Change-Id: Id66e177a544fd8e019bae86fff6bd04bd0497d7c
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
  • Loading branch information
Andrew den Exter authored and Qt by Nokia committed Mar 13, 2012
1 parent 69a1bf1 commit c0f032d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions src/quick/items/qquicktextinput.cpp
Expand Up @@ -2927,19 +2927,6 @@ void QQuickTextInputPrivate::setSelection(int start, int length)
| Qt::ImCursorPosition | Qt::ImCurrentSelection);
}

/*!
\internal
Initializes the line control with a starting text value of \a txt.
*/
void QQuickTextInputPrivate::init(const QString &txt)
{
m_text = txt;

updateDisplayText();
m_cursor = m_text.length();
}

/*!
\internal
Expand Down
1 change: 0 additions & 1 deletion src/quick/items/qquicktextinput_p_p.h
Expand Up @@ -405,7 +405,6 @@ class Q_AUTOTEST_EXPORT QQuickTextInputPrivate : public QQuickImplicitSizeItemPr
void updateLayout();

private:
void init(const QString &txt);
void removeSelectedText();
void internalSetText(const QString &txt, int pos = -1, bool edited = true);
void updateDisplayText(bool forceUpdate = false);
Expand Down

0 comments on commit c0f032d

Please sign in to comment.