https://bugs.kde.org/show_bug.cgi?id=305454
Laurent Montel <mon...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Laurent Montel <mon...@kde.org> --- Add patch here too diff --git a/kolabformat/v2helpers.h b/kolabformat/v2helpers.h index f93f9a1..dcc8563 100644 --- a/kolabformat/v2helpers.h +++ b/kolabformat/v2helpers.h @@ -77,6 +77,7 @@ QImage getPicture(const QString &pictureAttachmentName, const KMime::Message::Pt KMime::Content *imgContent = Mime::findContentByName(data, pictureAttachmentName/*"kolab-picture.png"*/, type); if (!imgContent) { Warning() << "could not find picture: " << pictureAttachmentName; + return QImage(); } QByteArray imgData = imgContent->decodedContent(); QBuffer buffer(&imgData); @@ -268,4 +269,4 @@ QStringList readLegacyDictionaryConfiguration(const QByteArray &xmlData, QString } -#endif \ No newline at end of file +#endif -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs