summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/domain/domaintypes.h4
-rw-r--r--common/storage/entitystore.cpp5
2 files changed, 5 insertions, 4 deletions
diff --git a/common/domain/domaintypes.h b/common/domain/domaintypes.h
new file mode 100644
index 0000000..84c5bd5
--- /dev/null
+++ b/common/domain/domaintypes.h
@@ -0,0 +1,4 @@
1
2#include "mail.h"
3#include "folder.h"
4#include "event.h"
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp
index 3b0d3c9..6d48c10 100644
--- a/common/storage/entitystore.cpp
+++ b/common/storage/entitystore.cpp
@@ -32,9 +32,7 @@
32#include "entity_generated.h" 32#include "entity_generated.h"
33#include "applicationdomaintype_p.h" 33#include "applicationdomaintype_p.h"
34 34
35#include "mail.h" 35#include "domaintypes.h"
36#include "folder.h"
37#include "event.h"
38 36
39using namespace Sink; 37using namespace Sink;
40using namespace Sink::Storage; 38using namespace Sink::Storage;
@@ -144,7 +142,6 @@ void EntityStore::copyBlobs(ApplicationDomain::ApplicationDomainType &entity, qi
144 const auto value = entity.getProperty(property); 142 const auto value = entity.getProperty(property);
145 if (value.canConvert<ApplicationDomain::BLOB>()) { 143 if (value.canConvert<ApplicationDomain::BLOB>()) {
146 const auto blob = value.value<ApplicationDomain::BLOB>(); 144 const auto blob = value.value<ApplicationDomain::BLOB>();
147 bool blobIsExternal = blob.isExternal;
148 //Any blob that is not part of the storage yet has to be moved there. 145 //Any blob that is not part of the storage yet has to be moved there.
149 if (blob.isExternal) { 146 if (blob.isExternal) {
150 auto oldPath = blob.value; 147 auto oldPath = blob.value;