D17028: Loader: Avoid Q_FOREACH

Sergio Martins noreply at phabricator.kde.org
Tue Nov 20 10:52:51 GMT 2018


smartins added inline comments.

INLINE COMMENTS

> loader.cpp:273
>      QStringList allLocalizedDictionaries;
> -    Q_FOREACH (const QString &langCode, languages()) {
> +    for (const QString &langCode : languages()) {
>          allLocalizedDictionaries.append(languageNameForCode(langCode));

will languages() detach ?

REPOSITORY
  R246 Sonnet

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

To: loh.tar, davidedmundson
Cc: smartins, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181120/9907c1fd/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list