D13970: Handle empty preview lists

Andreas Cord-Landwehr noreply at phabricator.kde.org
Sun Jul 8 21:32:15 BST 2018


cordlandwehr removed reviewers: gregormi, nicolasfella, dhaumann, Frameworks.
cordlandwehr added a comment.
This revision now requires review to proceed.


  I had a crash at the respective locations while porting Artikulate to the QtQuick based API, since those KNS resource files do not provide previews.
  However, IMO this patch fixes an unsafe access to a list element without checking that it exists.

REPOSITORY
  R304 KNewStuff

REVISION DETAIL
  https://phabricator.kde.org/D13970

To: cordlandwehr, gregormi, nicolasfella, dhaumann, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180708/8de1da94/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list