diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-15 16:09:09 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-18 12:39:28 +0200 |
commit | 72c3befaa24e7e6021898061b5bc5389554e7126 (patch) | |
tree | 5aedde3f9e942a5fbb4b25ac03138d4ede5dceea /tests/auto/qml/qqmlitemmodels/testtypes.h | |
parent | e7618dba5b4e4b59331693e7b3a38601822b6ffb (diff) |
Replace 0 pointer constants with nullptr
Replaced in most common patterns.
Change-Id: Idcaff1f2e915f29922702d3600a2e5f1e2418a7a
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlitemmodels/testtypes.h')
-rw-r--r-- | tests/auto/qml/qqmlitemmodels/testtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlitemmodels/testtypes.h b/tests/auto/qml/qqmlitemmodels/testtypes.h index 551697c626..db020830a5 100644 --- a/tests/auto/qml/qqmlitemmodels/testtypes.h +++ b/tests/auto/qml/qqmlitemmodels/testtypes.h @@ -44,7 +44,7 @@ class ItemModelsTest : public QObject Q_PROPERTY(QItemSelection itemSelection READ itemSelection WRITE setItemSelection NOTIFY changed) public: - ItemModelsTest(QObject *parent = 0) + ItemModelsTest(QObject *parent = nullptr) : QObject(parent) , m_model(0) { |