diff options
Diffstat (limited to 'logic/assets/AssetsIndex.cpp')
-rw-r--r-- | logic/assets/AssetsIndex.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/logic/assets/AssetsIndex.cpp b/logic/assets/AssetsIndex.cpp index 5b401a77..509f1add 100644 --- a/logic/assets/AssetsIndex.cpp +++ b/logic/assets/AssetsIndex.cpp @@ -15,6 +15,17 @@ #include "AssetsIndex.h" +AssetsIndex::AssetsIndex() +{ + // TODO: leak? + this->objects = new QMap<QString, AssetObject>(); + this->isVirtual = false; +} + AssetObject::AssetObject(QString hash, qint64 size) : hash(hash), size(size) { } + +AssetObject::AssetObject() +{ +} |