OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7964b2c
)
fix QTextCursor build
author
Ivailo Monev
<xakepa10@gmail.com>
Tue, 11 Jan 2022 18:25:31 +0000
(20:25 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Tue, 11 Jan 2022 18:25:31 +0000
(20:25 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
tests/auto/qtextcursor/tst_qtextcursor.cpp
patch
|
blob
|
history
diff --git
a/tests/auto/qtextcursor/tst_qtextcursor.cpp
b/tests/auto/qtextcursor/tst_qtextcursor.cpp
index
1e454d6
..
e058911
100644
(file)
--- a/
tests/auto/qtextcursor/tst_qtextcursor.cpp
+++ b/
tests/auto/qtextcursor/tst_qtextcursor.cpp
@@
-398,7
+398,7
@@
void tst_QTextCursor::navigation6()
void tst_QTextCursor::navigation7()
{
QVERIFY(doc->isEmpty());
- for (int i = QTextCursor::Start; i <= QTextCursor::
WordRight
; ++i)
+ for (int i = QTextCursor::Start; i <= QTextCursor::
NextWord
; ++i)
QVERIFY(!cursor.movePosition(QTextCursor::MoveOperation(i)));
doc->setPlainText("Hello World");