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 fdaa989e authored by Laurent Montel's avatar Laurent Montel 😁

Return false when list is empty

parent a1a08096
......@@ -439,7 +439,7 @@ bool Util::saveMessageInMboxAndGetUrl(QUrl &url, const Akonadi::Item::List &retr
{
QString fileName;
if (retrievedMsgs.isEmpty()) {
return true;
return false;
}
const Akonadi::Item msgBase = retrievedMsgs.first();
......
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