D19317: compile without foreach

2019-02-28 Thread Laurent Montel
This revision was automatically updated to reflect the committed changes. Closed by commit R287:f1c6c15b061b: compile without foreach (authored by mlaurent). REPOSITORY R287 KImageFormats CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D19317?vs=52700&id=52863 REVISION DETAIL https:

D19317: compile without foreach

2019-02-28 Thread Aleix Pol Gonzalez
apol accepted this revision. apol added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > imagedump.cpp:75 > out << "File formats:\n"; > -foreach (const QByteArray &fmt, > QImageReader::supportedImageFormats()) { > +const QList lstSuppor

D19317: compile without foreach

2019-02-26 Thread Laurent Montel
mlaurent updated this revision to Diff 52700. mlaurent added a comment. Use auto as requested REPOSITORY R287 KImageFormats CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D19317?vs=52559&id=52700 BRANCH compile_without_foreach (branched from master) REVISION DETAIL https://ph

D19317: compile without foreach

2019-02-26 Thread Laurent Montel
mlaurent added inline comments. INLINE COMMENTS > apol wrote in pic.cpp:391 > Probably could do a splitRef here it seems that we can't use it. As it will return a list of QStringRef and we want to use "simplified() on a QStringRef which doesn't exist REPOSITORY R287 KImageFormats REVISION DE

D19317: compile without foreach

2019-02-26 Thread Aleix Pol Gonzalez
apol added inline comments. INLINE COMMENTS > pic.cpp:391 > m_description.clear(); > -QStringList entries = > value.toString().split(QStringLiteral("\n\n")); > -Q_FOREACH(const QString entry, entries) { > +const QStringList entries = > value.toSt

D19317: compile without foreach

2019-02-25 Thread Laurent Montel
mlaurent created this revision. mlaurent added a reviewer: dfaure. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. mlaurent requested review of this revision. REVISION SUMMARY compile without foreach REPOSITORY R287 KImageFormats BRANCH compile_without_