summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_moc_macro_target/main_gen_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cmake/test_moc_macro_target/main_gen_test.cpp')
-rw-r--r--tests/auto/cmake/test_moc_macro_target/main_gen_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/cmake/test_moc_macro_target/main_gen_test.cpp b/tests/auto/cmake/test_moc_macro_target/main_gen_test.cpp
index ca4134608a..3e6c4acd4e 100644
--- a/tests/auto/cmake/test_moc_macro_target/main_gen_test.cpp
+++ b/tests/auto/cmake/test_moc_macro_target/main_gen_test.cpp
@@ -35,7 +35,7 @@ class MyObject : public QObject, MyInterface
Q_OBJECT
Q_INTERFACES(MyInterface)
public:
- explicit MyObject(QObject *parent = 0) : QObject(parent) { }
+ explicit MyObject(QObject *parent = nullptr) : QObject(parent) { }
};
int main(int argc, char **argv)