diff options
author | Tarja Sundqvist <tarja.sundqvist@digia.com> | 2012-05-25 08:39:08 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-25 17:23:20 +0200 |
commit | 7266e11297874736e54bc59fd3d4d827d03ce2e2 (patch) | |
tree | 6fb5f5e1bfa264b9e915f3cee5b54ea773b4813f /src/widgets/kernel/qwidgetsvariant.cpp | |
parent | 79ab7c170d8c6b6d3b148f983121717e71fefeea (diff) |
QTBUG-16850: QLineEdit::setSelection removes blank characters
Changed checking of the start position so that it does not call d->control->text() because this removes blank characters when an input mask is used. Thus the
selection fails. Instead d->control->end() is used for checking the start position.
Task-number: QTBUG-16850
Change-Id: I62992fb81bd47d432bade9f219782d48eb309956
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Diffstat (limited to 'src/widgets/kernel/qwidgetsvariant.cpp')
0 files changed, 0 insertions, 0 deletions