diff options
Diffstat (limited to 'common/domain/mail.cpp')
-rw-r--r-- | common/domain/mail.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp index b0a3aae..9d58767 100644 --- a/common/domain/mail.cpp +++ b/common/domain/mail.cpp | |||
@@ -170,19 +170,6 @@ static void updateThreadingIndex(const QByteArray &identifier, const BufferAdapt | |||
170 | } | 170 | } |
171 | } | 171 | } |
172 | 172 | ||
173 | void TypeImplementation<Mail>::index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction) | ||
174 | { | ||
175 | SinkTrace() << "Indexing " << identifier; | ||
176 | getIndex().add(identifier, bufferAdaptor, transaction); | ||
177 | updateThreadingIndex(identifier, bufferAdaptor, transaction); | ||
178 | } | ||
179 | |||
180 | void TypeImplementation<Mail>::removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction) | ||
181 | { | ||
182 | getIndex().remove(identifier, bufferAdaptor, transaction); | ||
183 | //TODO cleanup threading index | ||
184 | } | ||
185 | |||
186 | QSharedPointer<ReadPropertyMapper<TypeImplementation<Mail>::Buffer> > TypeImplementation<Mail>::initializeReadPropertyMapper() | 173 | QSharedPointer<ReadPropertyMapper<TypeImplementation<Mail>::Buffer> > TypeImplementation<Mail>::initializeReadPropertyMapper() |
187 | { | 174 | { |
188 | auto propertyMapper = QSharedPointer<ReadPropertyMapper<Buffer> >::create(); | 175 | auto propertyMapper = QSharedPointer<ReadPropertyMapper<Buffer> >::create(); |