diff options
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 100f158..049d228 100644 --- a/common/pipeline.cpp +++ b/common/pipeline.cpp | |||
@@ -178,7 +178,7 @@ KAsync::Job<qint64> Pipeline::newEntity(void const *command, size_t size) | |||
178 | } | 178 | } |
179 | 179 | ||
180 | if (key.isEmpty()) { | 180 | if (key.isEmpty()) { |
181 | key = QUuid::createUuid().toString().toUtf8(); | 181 | key = Sink::Storage::generateUid(); |
182 | } | 182 | } |
183 | Q_ASSERT(!key.isEmpty()); | 183 | Q_ASSERT(!key.isEmpty()); |
184 | const qint64 newRevision = Storage::maxRevision(d->transaction) + 1; | 184 | const qint64 newRevision = Storage::maxRevision(d->transaction) + 1; |