mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T199, sync. caches of setup reader
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user