if (ptr->status() == WaitingToLoad)
ptr->startLoading();
}
- if (cache_queue_.size()) {
+ if (!cache_queue_.empty()) {
startLoader();
} else {
stopLoader();
if (status_ != Converting) {
Cache::get().remove(old_file);
} else {
- //TODO remove cache item when it is not busy any more
+ //TODO remove cache item when it is not busy any more, see #7163
}
}