Convert BatchQueue::cancelItems() to functional IdleRegister::add()

This commit is contained in:
Flössie
2019-01-01 17:55:36 +01:00
parent b08fb04dae
commit 732bbf1a55
3 changed files with 51 additions and 16 deletions

View File

@@ -930,7 +930,7 @@ void FileCatalog::filterApplied()
void FileCatalog::openRequested(const std::vector<Thumbnail*>& tmb)
{
for (auto thumb : tmb) {
for (const auto thumb : tmb) {
thumb->increaseRef();
}