summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-09-30 11:57:15 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-09-30 23:17:02 +0000
commit1bde907a230d11bef023a61cfe9eafd856cf992d (patch)
tree175d17f2f65a170bdfd1d74a26754c920c340db3 /src/plugins/platforms/cocoa
parent8a25006fad013f75454d78d976ad02ed7f0f530c (diff)
QFileSystemNode: simplify three loops over the children hash
In the dtor, simply call qDeleteAll(children) instead of looping manually. In updateIcon() and retranslateStrings() replace a manual loop with C++11 ranged for. At least I only saw 'iterator' everywhere (who names an iterator 'iterator' instead of 'it'??). Change-Id: Ib0047dece3c88244bb4364cd4491cd04514a91bb Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/cocoa')
0 files changed, 0 insertions, 0 deletions