summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/storage/entitystore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp
index 44fd54d..d2161a6 100644
--- a/common/storage/entitystore.cpp
+++ b/common/storage/entitystore.cpp
@@ -407,7 +407,7 @@ void EntityStore::cleanupEntityRevisionsUntil(qint64 revision)
407 if (isRemoval) { 407 if (isRemoval) {
408 QDir dir{d->entityBlobStorageDir()}; 408 QDir dir{d->entityBlobStorageDir()};
409 const auto infoList = dir.entryInfoList(QStringList{} << QString{uid + "*"}); 409 const auto infoList = dir.entryInfoList(QStringList{} << QString{uid + "*"});
410 for (const auto fileInfo : infoList) { 410 for (const auto &fileInfo : infoList) {
411 QFile::remove(fileInfo.filePath()); 411 QFile::remove(fileInfo.filePath());
412 } 412 }
413 } 413 }