summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-31 04:53:29 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-31 04:53:29 (GMT)
commit1bb04f8c0675449a851cf636680951bd0a142507 (patch)
treeefa6d7fc3f88f559e2c52ec0211692d27330043a /tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp
parent75e9dc39dda515847961a04d402754d93d0b3326 (diff)
downloadQt-1bb04f8c0675449a851cf636680951bd0a142507.zip
Qt-1bb04f8c0675449a851cf636680951bd0a142507.tar.gz
Qt-1bb04f8c0675449a851cf636680951bd0a142507.tar.bz2
doc bug relationships more clearly
Diffstat (limited to 'tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp b/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp
index 84e7182..b6f55dd 100644
--- a/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp
+++ b/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp
@@ -523,7 +523,7 @@ void tst_qdeclarativetextinput::navigation()
QVERIFY(input->hasFocus() == false);
simulateKey(canvas, Qt::Key_Right);
QVERIFY(input->hasFocus() == true);
- //QT-2944: If text is selected, then we should deselect first.
+ //QT-2944: If text is selected, ensure we deselect upon cursor motion
input->setCursorPosition(input->text().length());
input->setSelectionStart(0);
input->setSelectionEnd(input->text().length());