check return value
This commit is contained in:
parent
1979ced0e0
commit
a2f2b93e36
2 changed files with 13 additions and 2 deletions
|
@ -126,7 +126,10 @@ int main(int argc, char *argv[])
|
|||
|
||||
dispatcher.attach(NULL);
|
||||
|
||||
// activate one of both for either system or session bus
|
||||
// TODO: choose in the GUI
|
||||
DBus::Connection conn = DBus::Connection::SessionBus();
|
||||
//DBus::Connection conn = DBus::Connection::SystemBus();
|
||||
|
||||
DBusBrowser browser(conn);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue