summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2011-04-28 07:24:15 (GMT)
committeraavit <qt-info@nokia.com>2011-04-28 07:24:15 (GMT)
commitb3f06ba0dbe2cddcd30d2176ed4dccbc7b3414b0 (patch)
tree7bce3ac02a739e545eb4c88da4e940363afbff21 /tests/auto
parentff8c99eb54f33108709f9f3107b35780a80f3f17 (diff)
parentd1c26fa169196a7c597198cd971f21588dca7051 (diff)
downloadQt-b3f06ba0dbe2cddcd30d2176ed4dccbc7b3414b0.zip
Qt-b3f06ba0dbe2cddcd30d2176ed4dccbc7b3414b0.tar.gz
Qt-b3f06ba0dbe2cddcd30d2176ed4dccbc7b3414b0.tar.bz2
Merge remote branch 'qt-fire-review/master'
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qcomplextext/tst_qcomplextext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qcomplextext/tst_qcomplextext.cpp b/tests/auto/qcomplextext/tst_qcomplextext.cpp
index 04943c5..58b31b4 100644
--- a/tests/auto/qcomplextext/tst_qcomplextext.cpp
+++ b/tests/auto/qcomplextext/tst_qcomplextext.cpp
@@ -214,6 +214,7 @@ void tst_QComplexText::bidiCursorMovement()
QTextOption option = layout.textOption();
option.setTextDirection(basicDir == QChar::DirL ? Qt::LeftToRight : Qt::RightToLeft);
layout.setTextOption(option);
+ layout.setCursorMoveStyle(QTextCursor::Visual);
bool moved;
int oldPos, newPos = 0;
qreal x, newX;