D5030: kioexec: delegate upload to a kded module

David Faure noreply at phabricator.kde.org
Fri Apr 7 06:44:58 UTC 2017


dfaure added a comment.


  Good point, I added a destructor to KIOD now, please try again ;)

INLINE COMMENTS

> kioexecd.cpp:54
> +{
> +    const auto files = m_watched.keys();
> +    for (const auto &file : files) {

btw iterating over keys() is bad practice (slow because it requires creating and filling a temporary container first). Better use a proper QMap iterator.

REPOSITORY
  R241 KIO

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

To: elvisangelaccio, dfaure
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170407/07e14c38/attachment.html>


More information about the Kde-frameworks-devel mailing list