diff --git a/src/dbus/instancemanager.cpp b/src/dbus/instancemanager.cpp index 88f30eb3056c8f9e53cac1c6201ceb25a659e49e..9ee215f7a32021179a386917f509d29b2f7ac021 100644 --- a/src/dbus/instancemanager.cpp +++ b/src/dbus/instancemanager.cpp @@ -46,11 +46,15 @@ InstanceInterface& DBus::InstanceManager::instance() registered = true; reply.waitForFinished(); } - if (!interface->isValid()) { - GlobalInstances::dBusErrorHandler().invalidInterfaceError( - "Error : dring is not available, make sure it is running" - ); - } + + /* we do not check if the interface isValid; + * isValid() return 'false' if there was any error; + * we expect there to be an error when we first launch the client and the daemon is not yet + * running; + * TODO: check if we get the expected error, or another, see: + * http://doc.qt.io/qt-4.8/qdbuserror.html#ErrorType-enum + */ + #endif return *interface; }