diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-20 00:19:08 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-20 00:19:08 +0100 |
commit | 5f7242abda42a1554dfa381a444979beb4c6d289 (patch) | |
tree | bcbd8c43ccf4528c047b9bb5de52c49a0e35d7bf /common/storage | |
parent | 44e3e7c5312e232c35403b5f8ad7cae0b4e6ddee (diff) | |
download | sink-5f7242abda42a1554dfa381a444979beb4c6d289.tar.gz sink-5f7242abda42a1554dfa381a444979beb4c6d289.zip |
Cleanup
Diffstat (limited to 'common/storage')
-rw-r--r-- | common/storage/entitystore.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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 | ||
39 | using namespace Sink; | 37 | using namespace Sink; |
40 | using namespace Sink::Storage; | 38 | using 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; |