Formatting, typos

This commit is contained in:
Klaus Basan
2017-09-14 03:06:07 +02:00
committed by Mathew Sutcliffe
parent 6d11ea2435
commit fe01a9d4aa
6 changed files with 18 additions and 15 deletions

View File

@@ -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);
}