From 5f7242abda42a1554dfa381a444979beb4c6d289 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 20 Dec 2016 00:19:08 +0100 Subject: Cleanup --- common/domain/domaintypes.h | 4 ++++ common/storage/entitystore.cpp | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 common/domain/domaintypes.h (limited to 'common') 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 @@ + +#include "mail.h" +#include "folder.h" +#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 @@ #include "entity_generated.h" #include "applicationdomaintype_p.h" -#include "mail.h" -#include "folder.h" -#include "event.h" +#include "domaintypes.h" using namespace Sink; using namespace Sink::Storage; @@ -144,7 +142,6 @@ void EntityStore::copyBlobs(ApplicationDomain::ApplicationDomainType &entity, qi const auto value = entity.getProperty(property); if (value.canConvert()) { const auto blob = value.value(); - bool blobIsExternal = blob.isExternal; //Any blob that is not part of the storage yet has to be moved there. if (blob.isExternal) { auto oldPath = blob.value; -- cgit v1.2.3