mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T173, unregister a DBus service before connecting
* In case there is a crash and we reconnect, the old service might be still registered * "private slots" -> "private"
This commit is contained in:
@@ -145,9 +145,8 @@ namespace BlackMisc
|
||||
return QDBusConnection::ExportAdaptors | QDBusConnection::ExportAllSignals | QDBusConnection::ExportAllSlots;
|
||||
}
|
||||
|
||||
private slots:
|
||||
//! Called when a new DBus client has connected in P2P mode
|
||||
bool ps_registerObjectsWithP2PConnection(QDBusConnection connection);
|
||||
bool registerObjectsWithP2PConnection(QDBusConnection connection);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user