summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlineedit/qlineedit.pro
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-04-22 10:10:50 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-04-22 10:16:30 (GMT)
commitcc37d494c2c6ef5768e4bc30cad62f24fee033c3 (patch)
treedee88dbf9aa875b25ceda0d2e1e7a5282a3f7ba1 /tests/auto/qlineedit/qlineedit.pro
parent2f14520ce72f0798a751f796baf93dd3f77a276d (diff)
downloadQt-cc37d494c2c6ef5768e4bc30cad62f24fee033c3.zip
Qt-cc37d494c2c6ef5768e4bc30cad62f24fee033c3.tar.gz
Qt-cc37d494c2c6ef5768e4bc30cad62f24fee033c3.tar.bz2
Fix regression: auto completion text cursor problem in Q3FileDialog
This was another regression in QLineEdit introduced with the move to QLineControl setCursorPosition clear the selection, and setSelection move the cursor position. So the case where we want the position at the beginning of the selection need to be handled separately (by doing the selection reverse) This does not cover the case where the position is in the middle, or outside the selection, but it is not possible to do. Task-number: QTBUG-10019 Reviewed-by: jbache
Diffstat (limited to 'tests/auto/qlineedit/qlineedit.pro')
-rw-r--r--tests/auto/qlineedit/qlineedit.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qlineedit/qlineedit.pro b/tests/auto/qlineedit/qlineedit.pro
index f00a2d8..88527ce 100644
--- a/tests/auto/qlineedit/qlineedit.pro
+++ b/tests/auto/qlineedit/qlineedit.pro
@@ -1,4 +1,5 @@
load(qttest_p4)
+QT += qt3support
SOURCES += tst_qlineedit.cpp