summaryrefslogtreecommitdiffstats
path: root/common/storage_lmdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage_lmdb.cpp')
-rw-r--r--common/storage_lmdb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp
index ef3363a..b9b86aa 100644
--- a/common/storage_lmdb.cpp
+++ b/common/storage_lmdb.cpp
@@ -595,6 +595,9 @@ Storage::Transaction Storage::createTransaction(AccessMode type, const std::func
595qint64 Storage::diskUsage() const 595qint64 Storage::diskUsage() const
596{ 596{
597 QFileInfo info(d->storageRoot + '/' + d->name + "/data.mdb"); 597 QFileInfo info(d->storageRoot + '/' + d->name + "/data.mdb");
598 if (!info.exists()) {
599 qWarning() << "Tried to get filesize for non-existant file: " << info.path();
600 }
598 return info.size(); 601 return info.size();
599} 602}
600 603