From 0c1f6da51631c0a573a44e2f93eb4012d52dfe5c Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 20 Oct 2016 17:46:10 +0200 Subject: Get access to properties in indexes. --- common/mail/threadindexer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/mail') diff --git a/common/mail/threadindexer.cpp b/common/mail/threadindexer.cpp index 4a18625..17ee31e 100644 --- a/common/mail/threadindexer.cpp +++ b/common/mail/threadindexer.cpp @@ -91,16 +91,16 @@ void ThreadIndexer::updateThreadingIndex(const QByteArray &identifier, const App QVector thread; //a child already registered our thread. - thread = index().secondaryLookup(messageId, transaction); + thread = index().secondaryLookup(messageId); //If parent is already available, add to thread of parent if (thread.isEmpty() && parentMessageId.isValid()) { - thread = index().secondaryLookup(parentMessageId, transaction); + thread = index().secondaryLookup(parentMessageId); SinkTrace() << "Found parent"; } if (thread.isEmpty()) { //Try to lookup the thread by subject: - thread = index().secondaryLookup(normalizedSubject, transaction); + thread = index().secondaryLookup(normalizedSubject); if (thread.isEmpty()) { SinkTrace() << "Created a new thread "; thread << QUuid::createUuid().toByteArray(); -- cgit v1.2.3