summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-01-26 14:38:54 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-02-11 23:18:44 +0000
commit10742cf8949497b83b87133ed66ec119cb3ab08f (patch)
tree7cd1f26379840d1768d86851725465cde06455c9 /tests
parent37a933c2b14a4a1aad54af0eba0bc210ae5b549a (diff)
QtGui: eradicate Q_FOREACH loops [const-& returns]
... by replacing them with C++11 range-for loops. The function QObject::children() returns by const-reference, so they can be passed to range-for without further changes. Change-Id: I8cd2921165c45020914dd3a23b1f18b519fe7900 Reviewed-by: Gunnar Sletta <gunnar@sletta.org> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions