Skip to content
Snippets Groups Projects
Commit bb116f66 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

dbus: cleanup

parent 2deb5890
No related branches found
No related tags found
Loading
......@@ -51,7 +51,7 @@ DBusManager::DBusManager() : callManager_(0)
DBus::_init_threading();
DBus::default_dispatcher = &dispatcher_;
DBus::Connection sessionConnection = DBus::Connection::SessionBus();
DBus::Connection sessionConnection(DBus::Connection::SessionBus());
sessionConnection.request_name("org.sflphone.SFLphone");
callManager_ = new CallManager(sessionConnection);
......@@ -59,7 +59,7 @@ DBusManager::DBusManager() : callManager_(0)
instanceManager_ = new Instance(sessionConnection);
#ifdef USE_NETWORKMANAGER
DBus::Connection systemConnection = DBus::Connection::SystemBus();
DBus::Connection systemConnection(DBus::Connection::SystemBus());
networkManager_ = new NetworkManager(systemConnection, "/org/freedesktop/NetworkManager", "");
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment