mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #679 CValueCache local signal relay moved to the point of emission, to tolerate different orders of initialization of application.
This commit is contained in:
@@ -207,15 +207,6 @@ namespace BlackCore
|
||||
|
||||
bool s = this->startHookIn();
|
||||
|
||||
// enable local relay of settings changes in case there is no context
|
||||
if (!this->supportsContexts())
|
||||
{
|
||||
connect(CSettingsCache::instance(), &CSettingsCache::valuesChangedByLocal, CSettingsCache::instance(), [](const CValueCachePacket & values)
|
||||
{
|
||||
CSettingsCache::instance()->changeValuesFromRemote(values, CIdentifier());
|
||||
});
|
||||
}
|
||||
|
||||
// trigger loading and saving of settings in appropriate scenarios
|
||||
if (this->m_coreFacadeConfig.getModeApplication() != CCoreFacadeConfig::Remote)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user