mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
refs #619, removed redundant set method for cache in loader
This commit is contained in:
@@ -107,7 +107,7 @@ namespace BlackGui
|
||||
mv->updateContainerMaybeAsync(models);
|
||||
if (this->m_loader)
|
||||
{
|
||||
this->m_loader->replaceCacheWithModelData(models);
|
||||
this->m_loader->setModelsInCache(models);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace BlackGui
|
||||
mv->replaceOrAddModelsWithString(models);
|
||||
if (this->m_loader)
|
||||
{
|
||||
this->m_loader->replaceCacheWithModelData(models);
|
||||
this->m_loader->setModelsInCache(models);
|
||||
}
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user