summaryrefslogtreecommitdiff
path: root/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp')
-rw-r--r--tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp b/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp
index 136cfa9a80..071dcafc97 100644
--- a/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp
+++ b/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp
@@ -62,7 +62,7 @@ void tst_qquicksystempalette::activePalette()
component.setData(componentStr.toLatin1(), QUrl::fromLocalFile(""));
QQuickSystemPalette *object = qobject_cast<QQuickSystemPalette*>(component.create());
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
QPalette palette;
palette.setCurrentColorGroup(QPalette::Active);
@@ -91,7 +91,7 @@ void tst_qquicksystempalette::inactivePalette()
component.setData(componentStr.toLatin1(), QUrl::fromLocalFile(""));
QQuickSystemPalette *object = qobject_cast<QQuickSystemPalette*>(component.create());
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
QCOMPARE(object->colorGroup(), QQuickSystemPalette::Inactive);
QPalette palette;
@@ -121,7 +121,7 @@ void tst_qquicksystempalette::disabledPalette()
component.setData(componentStr.toLatin1(), QUrl::fromLocalFile(""));
QQuickSystemPalette *object = qobject_cast<QQuickSystemPalette*>(component.create());
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
QCOMPARE(object->colorGroup(), QQuickSystemPalette::Disabled);
QPalette palette;
@@ -152,7 +152,7 @@ void tst_qquicksystempalette::paletteChanged()
component.setData(componentStr.toLatin1(), QUrl::fromLocalFile(""));
QQuickSystemPalette *object = qobject_cast<QQuickSystemPalette*>(component.create());
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
QPalette p;
p.setCurrentColorGroup(QPalette::Active);