summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2017-12-23 14:58:10 +0100
committerLaurent Montel <[email protected]>2017-12-23 14:58:10 +0100
commitcb9093cedbec3a99fb13fdb9624db102d9685619 (patch)
treeb3143b09accc9dec78a6c95ec4f9a7c908c5600c
parente2ee73109259cd248d9752271c3478d07b88ae6c (diff)
Use new api
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/kmcommands.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ce43291..af48701 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,7 +75,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widget
set(LIBGRAVATAR_VERSION_LIB "5.7.40")
set(MAILCOMMON_LIB_VERSION_LIB "5.7.41")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.7.40")
-set(MESSAGELIB_LIB_VERSION_LIB "5.7.43")
+set(MESSAGELIB_LIB_VERSION_LIB "5.7.45")
set(LIBKLEO_LIB_VERSION_LIB "5.7.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.7.42")
set(LIBKDEPIM_LIB_VERSION_LIB "5.7.40")
diff --git a/src/kmcommands.cpp b/src/kmcommands.cpp
index f94b57f..1d7445f 100644
--- a/src/kmcommands.cpp
+++ b/src/kmcommands.cpp
@@ -1635,9 +1635,8 @@ KMCommand::Result KMSaveAttachmentsCommand::execute()
qCWarning(KMAIL_LOG) << "Retrieved item has no payload? Ignoring for saving the attachments";
}
}
- QUrl currentUrl;
QList<QUrl> urlList;
- if (MessageViewer::Util::saveAttachments(contentsToSave, parentWidget(), currentUrl, urlList)) {
+ if (MessageViewer::Util::saveAttachments(contentsToSave, parentWidget(), urlList)) {
if (mViewer) {
mViewer->showOpenAttachmentFolderWidget(urlList);
}