diff options
-rw-r--r-- | dist/sink.spec | 2 | ||||
-rw-r--r-- | examples/imapresource/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/imapresource/imapresource.cpp | 2 | ||||
-rw-r--r-- | examples/imapresource/imapserverproxy.cpp | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/dist/sink.spec b/dist/sink.spec index 59e8052..b39fdc4 100644 --- a/dist/sink.spec +++ b/dist/sink.spec | |||
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | Name: sink | 2 | Name: sink |
3 | Version: 0.3 | 3 | Version: 0.3 |
4 | Release: 7%{?dist} | 4 | Release: 8%{?dist} |
5 | Summary: sink | 5 | Summary: sink |
6 | 6 | ||
7 | Group: Applications/Desktop | 7 | Group: Applications/Desktop |
diff --git a/examples/imapresource/CMakeLists.txt b/examples/imapresource/CMakeLists.txt index 15ff135..5d2d38b 100644 --- a/examples/imapresource/CMakeLists.txt +++ b/examples/imapresource/CMakeLists.txt | |||
@@ -4,7 +4,7 @@ add_definitions(-DQT_PLUGIN) | |||
4 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | 4 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
5 | 5 | ||
6 | find_package(KF5 COMPONENTS REQUIRED Mime) | 6 | find_package(KF5 COMPONENTS REQUIRED Mime) |
7 | find_package(KIMAP2 0.1.1 REQUIRED) | 7 | find_package(KIMAP2 0.2 REQUIRED) |
8 | 8 | ||
9 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | 9 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
10 | 10 | ||
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index a6c0343..5a9c36f 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -193,7 +193,7 @@ public: | |||
193 | const auto remoteId = assembleMailRid(folderLocalId, message.uid); | 193 | const auto remoteId = assembleMailRid(folderLocalId, message.uid); |
194 | 194 | ||
195 | Q_ASSERT(message.msg); | 195 | Q_ASSERT(message.msg); |
196 | SinkTraceCtx(mLogCtx) << "Found a mail " << remoteId << message.msg->subject(true)->asUnicodeString() << message.flags; | 196 | SinkTraceCtx(mLogCtx) << "Found a mail " << remoteId << message.flags; |
197 | 197 | ||
198 | auto mail = Sink::ApplicationDomain::Mail::create(mResourceInstanceIdentifier); | 198 | auto mail = Sink::ApplicationDomain::Mail::create(mResourceInstanceIdentifier); |
199 | mail.setFolder(folderLocalId); | 199 | mail.setFolder(folderLocalId); |
diff --git a/examples/imapresource/imapserverproxy.cpp b/examples/imapresource/imapserverproxy.cpp index a52c5eb..538105c 100644 --- a/examples/imapresource/imapserverproxy.cpp +++ b/examples/imapresource/imapserverproxy.cpp | |||
@@ -314,6 +314,7 @@ KAsync::Job<void> ImapServerProxy::fetch(const KIMAP2::ImapSet &set, KIMAP2::Fet | |||
314 | fetch->setSequenceSet(set); | 314 | fetch->setSequenceSet(set); |
315 | fetch->setUidBased(true); | 315 | fetch->setUidBased(true); |
316 | fetch->setScope(scope); | 316 | fetch->setScope(scope); |
317 | fetch->setAvoidParsing(true); | ||
317 | QObject::connect(fetch, &KIMAP2::FetchJob::resultReceived, callback); | 318 | QObject::connect(fetch, &KIMAP2::FetchJob::resultReceived, callback); |
318 | return runJob(fetch); | 319 | return runJob(fetch); |
319 | } | 320 | } |