Commit 66d423d2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt code to new api

parent 3872da91
Pipeline #172520 passed with stage
in 5 minutes and 45 seconds
......@@ -68,8 +68,8 @@ option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branc
find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widgets WebEngineWidgets)
set(LIBGRAVATAR_VERSION "5.20.40")
set(MAILCOMMON_LIB_VERSION "5.20.40")
set(MESSAGELIB_LIB_VERSION "5.20.40")
set(MAILCOMMON_LIB_VERSION "5.20.41")
set(MESSAGELIB_LIB_VERSION "5.20.42")
set(LIBKLEO_LIB_VERSION "5.20.40")
set(PIMCOMMON_LIB_VERSION "5.20.41")
set(LIBKDEPIM_LIB_VERSION "5.20.40")
......
......@@ -64,11 +64,11 @@
#include <MailCommon/FilterAction>
#include <MailCommon/FilterManager>
#include <MailCommon/FolderSettings>
#include <MailCommon/MDNStateAttribute>
#include <MailCommon/MailFilter>
#include <MailCommon/MailKernel>
#include <MailCommon/MailUtil>
#include <MailCommon/RedirectDialog>
#include <MessageComposer/MDNStateAttribute>
#include <MessageCore/MailingList>
#include <MessageCore/MessageCoreSettings>
......@@ -306,7 +306,7 @@ void KMCommand::transferSelectedMsgs()
complete = false;
++KMCommand::mCountJobs;
Akonadi::ItemFetchJob *fetch = createFetchJob(mMsgList);
mFetchScope.fetchAttribute<MailCommon::MDNStateAttribute>();
mFetchScope.fetchAttribute<MessageComposer::MDNStateAttribute>();
fetch->setFetchScope(mFetchScope);
connect(fetch, &Akonadi::ItemFetchJob::itemsReceived, this, &KMCommand::slotMsgTransfered);
connect(fetch, &Akonadi::ItemFetchJob::result, this, &KMCommand::slotJobFinished);
......
Supports Markdown
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