summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/text')
-rw-r--r--tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp b/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp
index 4defd0da27..52a17bd2ea 100644
--- a/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp
+++ b/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp
@@ -708,14 +708,14 @@ void tst_QTextCursor::checkFrame1()
{
QCOMPARE(cursor.position(), 0);
QPointer<QTextFrame> frame = cursor.insertFrame(QTextFrameFormat());
- QVERIFY(frame != 0);
+ QVERIFY(frame != nullptr);
QTextFrame *root = frame->parentFrame();
- QVERIFY(root != 0);
+ QVERIFY(root != nullptr);
QCOMPARE(frame->firstPosition(), 1);
QCOMPARE(frame->lastPosition(), 1);
- QVERIFY(frame->parentFrame() != 0);
+ QVERIFY(frame->parentFrame() != nullptr);
QCOMPARE(root->childFrames().size(), 1);
QCOMPARE(cursor.position(), 1);