diff options
-rw-r--r-- | common/mail/threadindexer.cpp | 4 | ||||
-rw-r--r-- | common/queryrunner.cpp | 2 | ||||
-rw-r--r-- | common/store.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/common/mail/threadindexer.cpp b/common/mail/threadindexer.cpp index 3da2fdd..6f2933c 100644 --- a/common/mail/threadindexer.cpp +++ b/common/mail/threadindexer.cpp | |||
@@ -87,8 +87,8 @@ void ThreadIndexer::updateThreadingIndex(const QByteArray &identifier, const App | |||
87 | const auto subject = entity.getProperty(Mail::Subject::name); | 87 | const auto subject = entity.getProperty(Mail::Subject::name); |
88 | const auto normalizedSubject = stripOffPrefixes(subject.toString()).toUtf8(); | 88 | const auto normalizedSubject = stripOffPrefixes(subject.toString()).toUtf8(); |
89 | if (messageId.toByteArray().isEmpty()) { | 89 | if (messageId.toByteArray().isEmpty()) { |
90 | SinkError() << "Found an email without messageId. This is illegal and threading will break. Entity id: " << identifier; | 90 | SinkWarning() << "Found an email without messageId. This is illegal and threading will break. Entity id: " << identifier; |
91 | SinkError() << "Subject: " << subject; | 91 | SinkWarning() << "Subject: " << subject; |
92 | } | 92 | } |
93 | 93 | ||
94 | QVector<QByteArray> thread; | 94 | QVector<QByteArray> thread; |
diff --git a/common/queryrunner.cpp b/common/queryrunner.cpp index 4af9866..748320f 100644 --- a/common/queryrunner.cpp +++ b/common/queryrunner.cpp | |||
@@ -66,7 +66,7 @@ QueryRunner<DomainType>::QueryRunner(const Sink::Query &query, const Sink::Resou | |||
66 | { | 66 | { |
67 | SinkTraceCtx(mLogCtx) << "Starting query. Is live:" << query.liveQuery() << " Limit: " << query.limit(); | 67 | SinkTraceCtx(mLogCtx) << "Starting query. Is live:" << query.liveQuery() << " Limit: " << query.limit(); |
68 | if (query.limit() && query.sortProperty().isEmpty()) { | 68 | if (query.limit() && query.sortProperty().isEmpty()) { |
69 | SinkWarning() << "A limited query without sorting is typically a bad idea, because there is no telling what you're going to get."; | 69 | SinkWarningCtx(mLogCtx) << "A limited query without sorting is typically a bad idea, because there is no telling what you're going to get."; |
70 | } | 70 | } |
71 | auto guardPtr = QPointer<QObject>(&guard); | 71 | auto guardPtr = QPointer<QObject>(&guard); |
72 | // We delegate loading of initial data to the result provider, so it can decide for itself what it needs to load. | 72 | // We delegate loading of initial data to the result provider, so it can decide for itself what it needs to load. |
diff --git a/common/store.cpp b/common/store.cpp index b4ef2b7..6dd4fb3 100644 --- a/common/store.cpp +++ b/common/store.cpp | |||
@@ -93,7 +93,7 @@ QPair<typename AggregatingResultEmitter<typename DomainType::Ptr>::Ptr, typenam | |||
93 | Q_ASSERT(facade); | 93 | Q_ASSERT(facade); |
94 | Sink::Query resourceQuery; | 94 | Sink::Query resourceQuery; |
95 | if (query.liveQuery()) { | 95 | if (query.liveQuery()) { |
96 | SinkTraceCtx(ctx) << "Listening for new resources"; | 96 | SinkTraceCtx(ctx) << "Listening for new resources."; |
97 | resourceQuery.setFlags(Query::LiveQuery); | 97 | resourceQuery.setFlags(Query::LiveQuery); |
98 | } | 98 | } |
99 | resourceQuery.setFilter(query.getResourceFilter()); | 99 | resourceQuery.setFilter(query.getResourceFilter()); |