mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Issue #15 [GUI] Use CLogHistoryReplica in CLogComponent and swift applications
This commit is contained in:
@@ -111,6 +111,7 @@ namespace BlackCore
|
||||
m_dataLinkDBus = new SharedState::CDataLinkDBus(this);
|
||||
switch (m_config.getModeApplication())
|
||||
{
|
||||
case CCoreFacadeConfig::NotUsed:
|
||||
case CCoreFacadeConfig::Local:
|
||||
m_dataLinkDBus->initializeLocal(nullptr);
|
||||
break;
|
||||
@@ -133,6 +134,12 @@ namespace BlackCore
|
||||
m_logHistory->initialize(m_dataLinkDBus);
|
||||
}
|
||||
|
||||
if (m_config.all(CCoreFacadeConfig::NotUsed))
|
||||
{
|
||||
m_initalized = true;
|
||||
return;
|
||||
}
|
||||
|
||||
// contexts
|
||||
if (m_contextApplication) { m_contextApplication->deleteLater(); }
|
||||
m_contextApplication = IContextApplication::create(this, m_config.getModeApplication(), m_dbusServer, m_dbusConnection);
|
||||
|
||||
Reference in New Issue
Block a user