summaryrefslogtreecommitdiff
path: root/tests/dbus/handles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbus/handles.cpp')
-rw-r--r--tests/dbus/handles.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dbus/handles.cpp b/tests/dbus/handles.cpp
index 2182da48..863e2f2b 100644
--- a/tests/dbus/handles.cpp
+++ b/tests/dbus/handles.cpp
@@ -20,8 +20,8 @@ class TestHandles : public Test
Q_OBJECT
public:
- TestHandles(QObject *parent = 0)
- : Test(parent), mConn(0)
+ TestHandles(QObject *parent = nullptr)
+ : Test(parent), mConn(nullptr)
{ }
protected Q_SLOTS:
@@ -57,7 +57,7 @@ void TestHandles::initTestCase()
g_type_init();
g_set_prgname("handles");
tp_debug_set_flags("all");
- dbus_g_bus_get(DBUS_BUS_STARTER, 0);
+ dbus_g_bus_get(DBUS_BUS_STARTER, nullptr);
mConn = new TestConnHelper(this,
TP_TESTS_TYPE_SIMPLE_CONNECTION,