aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/script/tst_script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/qml/script/tst_script.cpp')
-rw-r--r--tests/benchmarks/qml/script/tst_script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/qml/script/tst_script.cpp b/tests/benchmarks/qml/script/tst_script.cpp
index a48d6bdec7..0233398481 100644
--- a/tests/benchmarks/qml/script/tst_script.cpp
+++ b/tests/benchmarks/qml/script/tst_script.cpp
@@ -106,7 +106,7 @@ class TestObject : public QObject
Q_PROPERTY(int x READ x WRITE setX)
public:
- TestObject(QObject *parent = 0);
+ TestObject(QObject *parent = nullptr);
int x();
void setX(int x) { m_x = x; }
@@ -199,7 +199,7 @@ void tst_script::property_getter()
}
}
-static TestObject *property_getter_qobject_object = 0;
+static TestObject *property_getter_qobject_object = nullptr;
static QJSValue property_getter_qobject_method(QScriptContext *, QJSEngine *)
{
static int idx = -1;