summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-08-25 13:38:50 +0200
committerMontel Laurent <[email protected]>2015-08-25 13:38:50 +0200
commit88bc15d64334fcb38434db0793b5c5d87608392c (patch)
tree047547a2710e94461260f379196fa3f3f0526e79
parentb9243b04baa2adaf0e3bb61e880ae0752371e745 (diff)
initialize pointer
-rw-r--r--resources/dav/common/davitemdeletejob.cpp2
-rw-r--r--resources/imap/changecollectiontask.cpp2
-rw-r--r--resources/imap/retrieveitemstask.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/resources/dav/common/davitemdeletejob.cpp b/resources/dav/common/davitemdeletejob.cpp
index ac8eeae..4f425bd 100644
--- a/resources/dav/common/davitemdeletejob.cpp
+++ b/resources/dav/common/davitemdeletejob.cpp
@@ -26,7 +26,7 @@
#include <KLocalizedString>
DavItemDeleteJob::DavItemDeleteJob(const DavUtils::DavUrl &url, const DavItem &item, QObject *parent)
- : DavJobBase(parent), mUrl(url), mItem(item)
+ : DavJobBase(parent), mUrl(url), mItem(item), mFreshResponseCode(-1)
{
}
diff --git a/resources/imap/changecollectiontask.cpp b/resources/imap/changecollectiontask.cpp
index 3e31106..1854d43 100644
--- a/resources/imap/changecollectiontask.cpp
+++ b/resources/imap/changecollectiontask.cpp
@@ -37,7 +37,7 @@
#include "imapresource_debug.h"
ChangeCollectionTask::ChangeCollectionTask(ResourceStateInterface::Ptr resource, QObject *parent)
- : ResourceTask(DeferIfNoSession, resource, parent), m_pendingJobs(0)
+ : ResourceTask(DeferIfNoSession, resource, parent), m_pendingJobs(0), m_syncEnabledState(true)
{
}
diff --git a/resources/imap/retrieveitemstask.cpp b/resources/imap/retrieveitemstask.cpp
index 43e603f..1276371 100644
--- a/resources/imap/retrieveitemstask.cpp
+++ b/resources/imap/retrieveitemstask.cpp
@@ -57,6 +57,8 @@ RetrieveItemsTask::RetrieveItemsTask(ResourceStateInterface::Ptr resource, QObje
m_session(Q_NULLPTR),
m_fetchedMissingBodies(-1),
m_fetchMissingBodies(false),
+ m_incremental(true),
+ m_highestModseq(-1),
m_batchFetcher(Q_NULLPTR),
m_uidBasedFetch(true),
m_flagsChanged(false)