mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Formatting, comments, Doxygen, minor tweaks
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c5381b01c6
commit
9748b5a442
@@ -34,7 +34,7 @@ namespace BlackCore
|
||||
|
||||
CContextApplication *CContextApplication::registerWithDBus(BlackMisc::CDBusServer *server)
|
||||
{
|
||||
if (!server || this->m_mode != CCoreFacadeConfig::LocalInDbusServer) { return this; }
|
||||
if (!server || m_mode != CCoreFacadeConfig::LocalInDbusServer) { return this; }
|
||||
server->addObject(IContextApplication::ObjectPath(), this);
|
||||
return this;
|
||||
}
|
||||
@@ -173,7 +173,7 @@ namespace BlackCore
|
||||
void CContextApplication::unregisterApplication(const CIdentifier &application)
|
||||
{
|
||||
if (m_debugEnabled) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO << application; }
|
||||
int r = this->m_registeredApplications.remove(application);
|
||||
int r = m_registeredApplications.remove(application);
|
||||
if (r > 0) { emit registrationChanged(); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user