allow to compile without Q_FOREACH support
ClosedPublic

Authored by cullmann on Fri, Feb 8, 11:41 AM.

Details

Summary

replaces Q_FOREACH with C++11 for

Test Plan

make && make test

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cullmann created this revision.Fri, Feb 8, 11:41 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptFri, Feb 8, 11:41 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
cullmann requested review of this revision.Fri, Feb 8, 11:41 AM
cullmann updated this revision to Diff 51171.Fri, Feb 8, 11:48 AM

Missed 2 Q_FOREACH variants

dhaumann accepted this revision.Fri, Feb 8, 12:15 PM
This revision is now accepted and ready to land.Fri, Feb 8, 12:15 PM
This revision was automatically updated to reflect the committed changes.

Btw, could we add a cmake definition to disallow foreach?