mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #485 removed some dependencies from CDBusServer
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a0b7f741ee
commit
1b587c2ee8
@@ -17,7 +17,6 @@ using namespace BlackMisc::Network;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
CDBusServer::CDBusServer(const QString &service, const QString &address, QObject *parent) : QObject(parent)
|
||||
{
|
||||
m_serverMode = modeOfAddress(address);
|
||||
@@ -248,6 +247,7 @@ namespace BlackMisc
|
||||
|
||||
void CDBusServer::removeAllObjects()
|
||||
{
|
||||
if (m_objects.isEmpty()) { return; }
|
||||
for (const QString &path : m_objects.keys())
|
||||
{
|
||||
switch (m_serverMode)
|
||||
|
||||
Reference in New Issue
Block a user