summaryrefslogtreecommitdiffstats
path: root/common/mail/threadindexer.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-30 16:39:05 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-30 16:39:05 +0100
commit28e67be84c418cb661e7c32f2326d0e665320a1e (patch)
treed2a39540fd4d8aebaec9489ce1e3ebc1c70c7ecc /common/mail/threadindexer.cpp
parent74d357f533b49b0d1eeb72606303cfd8a16fb20e (diff)
downloadsink-28e67be84c418cb661e7c32f2326d0e665320a1e.tar.gz
sink-28e67be84c418cb661e7c32f2326d0e665320a1e.zip
One central place to generate uids
Diffstat (limited to 'common/mail/threadindexer.cpp')
-rw-r--r--common/mail/threadindexer.cpp3
1 files changed, 2 insertions, 1 deletions
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 @@
20 20
21#include "typeindex.h" 21#include "typeindex.h"
22#include "log.h" 22#include "log.h"
23#include "utils.h"
23 24
24using namespace Sink; 25using namespace Sink;
25using namespace Sink::ApplicationDomain; 26using namespace Sink::ApplicationDomain;
@@ -76,7 +77,7 @@ void ThreadIndexer::updateThreadingIndex(const QByteArray &identifier, const App
76 SinkTrace() << "Found parent: " << thread; 77 SinkTrace() << "Found parent: " << thread;
77 } 78 }
78 if (thread.isEmpty()) { 79 if (thread.isEmpty()) {
79 thread << QUuid::createUuid().toByteArray(); 80 thread << Sink::createUuid();
80 SinkTrace() << "Created a new thread: " << thread; 81 SinkTrace() << "Created a new thread: " << thread;
81 } 82 }
82 83