mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Formatting, typos
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6d11ea2435
commit
fe01a9d4aa
@@ -31,7 +31,7 @@ namespace BlackGui
|
||||
Q_ASSERT_X(sGui, Q_FUNC_INFO, "missing sGui");
|
||||
ui->setupUi(this);
|
||||
|
||||
//! \fixme KB 201709 It is hard to judgte if it is a good idea to trigger cache admit in a UI component
|
||||
//! \fixme KB 201709 It is hard to judge if it is a good idea to trigger cache admit in a UI component
|
||||
// althought admit happens in background, this component might trigger cache reads not needed (though it is not very likely)
|
||||
this->admitCaches();
|
||||
|
||||
@@ -272,6 +272,7 @@ namespace BlackGui
|
||||
|
||||
void CDbLoadOverviewComponent::admitCaches()
|
||||
{
|
||||
// remark admit only triggers, it does not wait like synchronize
|
||||
if (!sGui->hasWebDataServices()) { return; }
|
||||
sGui->getWebDataServices()->admitDbCaches(CEntityFlags::AllDbEntities);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user