on xenial help sign in
Prefer nullptr to 0
commitcfb173104197b80066f5eb393818f194c668b68c authorGerry Boland <gerry.boland@canonical.com> dateThu 4 Sep 2014, 23:57 (12 years ago) parent1d499f8
1 file changed+1−1
src/libunity8-utils/abstractdbusservicemonitor.cpp+1−1
src/libunity8-utils/abstractdbusservicemonitor.cpp+1−1
@@ -32,7 +32,7 @@ AbstractDBusServiceMonitor::AbstractDBusServiceMonitor(const QString &service, c
3232 , m_path(path)
3333 , m_interface(interface)
3434 , m_watcher(new QDBusServiceWatcher(service, QDBusConnection::sessionBus()))
35− , m_dbusInterface(0)
35+ , m_dbusInterface(nullptr)
3636{
3737 connect(m_watcher, &QDBusServiceWatcher::serviceRegistered, this, &AbstractDBusServiceMonitor::createInterface);
3838 connect(m_watcher, &QDBusServiceWatcher::serviceUnregistered, this, &AbstractDBusServiceMonitor::destroyInterface);