diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-26 15:05:41 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-26 15:05:41 +0200 |
commit | 80afd7070f2d8e57cab2fe55fef611623fdb75f0 (patch) | |
tree | 5ec29f1bfece2b4344d040db232f7c4c0f746b73 /common/pipeline.cpp | |
parent | b334872e612433aee1284561fa247127bcdeeaf8 (diff) | |
download | sink-80afd7070f2d8e57cab2fe55fef611623fdb75f0.tar.gz sink-80afd7070f2d8e57cab2fe55fef611623fdb75f0.zip |
Make sure we initialize the environment correctly and only set the db version when creating it
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r-- | common/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/pipeline.cpp b/common/pipeline.cpp index ee9d3af..4afe9f3 100644 --- a/common/pipeline.cpp +++ b/common/pipeline.cpp | |||
@@ -63,7 +63,7 @@ public: | |||
63 | Pipeline::Pipeline(const ResourceContext &context, const Sink::Log::Context &ctx) : QObject(nullptr), d(new Private(context, ctx)) | 63 | Pipeline::Pipeline(const ResourceContext &context, const Sink::Log::Context &ctx) : QObject(nullptr), d(new Private(context, ctx)) |
64 | { | 64 | { |
65 | //Create main store immediately on first start | 65 | //Create main store immediately on first start |
66 | d->entityStore.createIfMissing(); | 66 | d->entityStore.initialize(); |
67 | } | 67 | } |
68 | 68 | ||
69 | Pipeline::~Pipeline() | 69 | Pipeline::~Pipeline() |