Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6cdd7f30 authored by Laurent Montel's avatar Laurent Montel 😁

Minor coding style

parent bed90470
......@@ -2765,12 +2765,11 @@ void ViewerPrivate::slotHandleAttachment(int choice)
if (MessageViewer::Util::saveMessageInMboxAndGetUrl(url, Akonadi::Item::List() << item, mMainWindow)) {
showOpenAttachmentFolderWidget(QList<QUrl>() << url);
}
return;
}
QList<QUrl> urlList;
if (Util::saveContents(mMainWindow, KMime::Content::List() << mCurrentContent, urlList)) {
showOpenAttachmentFolderWidget(urlList);
} else {
QList<QUrl> urlList;
if (Util::saveContents(mMainWindow, KMime::Content::List() << mCurrentContent, urlList)) {
showOpenAttachmentFolderWidget(urlList);
}
}
break;
}
......
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