Commit 2dbaed6f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new api

parent a982ea2f
Pipeline #23175 failed with stage
in 40 minutes and 33 seconds
......@@ -75,7 +75,7 @@ set(KMAILTRANSPORT_LIB_VERSION "5.14.40")
set(CALENDARUTILS_LIB_VERSION "5.14.40")
set(KDAV_LIB_VERSION "5.14.41")
set(KIMAP_LIB_VERSION "5.14.40")
set(KMBOX_LIB_VERSION "5.14.40")
set(KMBOX_LIB_VERSION "5.14.41")
set(AKONADICALENDAR_LIB_VERSION "5.14.40")
set(KONTACTINTERFACE_LIB_VERSION "5.14.40")
set(AKONADIKALARM_LIB_VERSION "5.14.40")
......
......@@ -179,7 +179,7 @@ public:
return ret;
}
int purge(QList<KMBox::MBoxEntry::Pair> &movedEntries)
int purge(QVector<KMBox::MBoxEntry::Pair> &movedEntries)
{
const int deleteCount = mDeletedOffsets.count();
......@@ -2263,7 +2263,7 @@ bool MixedMaildirStore::Private::visit(FileStore::StoreCompactJob *job)
// make the index invalid
mbox->readIndexData();
QList<KMBox::MBoxEntry::Pair> movedEntries;
QVector<KMBox::MBoxEntry::Pair> movedEntries;
const int result = mbox->purge(movedEntries);
if (result > 0) {
if (!movedEntries.isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment