Ref T199, sync. caches of setup reader

This commit is contained in:
Klaus Basan
2018-01-13 00:23:49 +01:00
parent 6785529916
commit 922f12f141
2 changed files with 9 additions and 0 deletions

View File

@@ -580,6 +580,12 @@ namespace BlackCore
return m_lastSuccessfulUpdateInfoUrl;
}
void CSetupReader::synchronize()
{
m_setup.synchronize();
m_updateInfo.synchronize();
}
CStatusMessageList CSetupReader::getLastSetupReadErrorMessages() const
{
QReadLocker l(&m_lockSetup);

View File

@@ -107,6 +107,9 @@ namespace BlackCore
//! \threadsafe
QString getLastSuccessfulUpdateInfoUrl() const;
//! Synchronize the caches
void synchronize();
//! Last setup parsing error messages (if any)
BlackMisc::CStatusMessageList getLastSetupReadErrorMessages() const;