From 28e67be84c418cb661e7c32f2326d0e665320a1e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 30 Jan 2018 16:39:05 +0100 Subject: One central place to generate uids --- common/mail/threadindexer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/mail/threadindexer.cpp') diff --git a/common/mail/threadindexer.cpp b/common/mail/threadindexer.cpp index 68f7af7..2e6a6e7 100644 --- a/common/mail/threadindexer.cpp +++ b/common/mail/threadindexer.cpp @@ -20,6 +20,7 @@ #include "typeindex.h" #include "log.h" +#include "utils.h" using namespace Sink; using namespace Sink::ApplicationDomain; @@ -76,7 +77,7 @@ void ThreadIndexer::updateThreadingIndex(const QByteArray &identifier, const App SinkTrace() << "Found parent: " << thread; } if (thread.isEmpty()) { - thread << QUuid::createUuid().toByteArray(); + thread << Sink::createUuid(); SinkTrace() << "Created a new thread: " << thread; } -- cgit v1.2.3