summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-12-04 18:33:53 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-12-04 18:33:53 (GMT)
commit1bb5999cdca0a70df3f96d596c83c3cf7c97c5fd (patch)
tree71c03d33b9c36fb78a6bc11b8994720ca3823f79 /src/gui/widgets
parent696099f8e3179787114df40d6ce6fef97bfa33dc (diff)
parentc0b81480b2909b18ac15bdd124a562ae005c2f41 (diff)
downloadQt-1bb5999cdca0a70df3f96d596c83c3cf7c97c5fd.zip
Qt-1bb5999cdca0a70df3f96d596c83c3cf7c97c5fd.tar.gz
Qt-1bb5999cdca0a70df3f96d596c83c3cf7c97c5fd.tar.bz2
Merge commit 'c0b81480b2909b18ac15bdd124a562ae005c2f41' into origin-4.6
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qlineedit_p.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/qlineedit_p.cpp b/src/gui/widgets/qlineedit_p.cpp
index d03c003..4437fef 100644
--- a/src/gui/widgets/qlineedit_p.cpp
+++ b/src/gui/widgets/qlineedit_p.cpp
@@ -103,12 +103,12 @@ void QLineEditPrivate::_q_handleWindowActivate()
void QLineEditPrivate::_q_textEdited(const QString &text)
{
Q_Q(QLineEdit);
+ emit q->textEdited(text);
#ifndef QT_NO_COMPLETER
- if (control->completer() &&
- control->completer()->completionMode() != QCompleter::InlineCompletion)
+ if (control->completer()
+ && control->completer()->completionMode() != QCompleter::InlineCompletion)
control->complete(-1); // update the popup on cut/paste/del
#endif
- emit q->textEdited(text);
}
void QLineEditPrivate::_q_cursorPositionChanged(int from, int to)