D19251: Make it compiles without foreach

David Faure noreply at phabricator.kde.org
Sat Feb 23 18:54:01 GMT 2019


dfaure requested changes to this revision.
dfaure added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> krcc.cpp:147
>  {
> -    Q_FOREACH (const QString &fileName, dir.entryList()) {
> +    for (const QString &fileName : dir.entryList()) {
>          const QString entryPath = dir.path() + QLatin1Char('/') + fileName;

move to temp var to avoid detaching?

REPOSITORY
  R243 KArchive

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

To: mlaurent, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190223/a63e0181/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list