mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Fix CDBusConnection::isConnected
ref T291
This commit is contained in:
committed by
Klaus Basan
parent
a764fa0d03
commit
fd45de89d9
@@ -89,7 +89,7 @@ namespace XSwiftBus
|
||||
|
||||
bool CDBusConnection::isConnected() const
|
||||
{
|
||||
return static_cast<bool>(m_connection);
|
||||
return m_connection && dbus_connection_get_is_connected(m_connection.get());
|
||||
}
|
||||
|
||||
void CDBusConnection::registerObjectPath(CDBusObject *object, const std::string &interfaceName, const std::string &objectPath, const DBusObjectPathVTable &dbusObjectPathVTable)
|
||||
|
||||
Reference in New Issue
Block a user