D14513: Add QML Extensions API

David Rosca noreply at phabricator.kde.org
Fri Aug 10 17:30:07 BST 2018


drosca added inline comments.

INLINE COMMENTS

> anmolgautam wrote in qmlbookmarks.cpp:233
> Doesn't for(BookmarkItem *bookmarkitem : items) detaches the list? Should I use QListIterator<BookmarkItem *> it(items) ?

No, because `items` is const. As long as the Qt container is const, you can use C++11 `for`.

REPOSITORY
  R875 Falkon

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

To: anmolgautam, drosca
Cc: falkon, herrold, anmolgautam, SGOrava, iodelay, spoorun, ptabis, navarromorales, cochise, clivej, ach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/falkon/attachments/20180810/96b8f795/attachment.html>


More information about the Falkon mailing list