diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-02-27 02:52:16 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-03-03 07:53:09 +0000 |
commit | 0077435897ff8c2d264110a9f4a0330754b92f0a (patch) | |
tree | 918897a0c01c908108b273b8022aea590c789189 /src/gui/painting/qpainterpath.h | |
parent | fb591c73661055bf48a44b4742a2399ae8dc684a (diff) |
QMainWindowLayout: eradicate Q_FOREACH loops: Extract Method allMyDockWidgets()
Extract a loop repeated four times in the code into a
separate function. Port to use C++11 range-for loops
and not create temporary QLists.
Saves 2.4KiB in text size on optimized GCC 5.3 Linux
AMD64 builds.
Change-Id: I7eb78ffaac33627b595e35cafb6ce0769fb760a8
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/gui/painting/qpainterpath.h')
0 files changed, 0 insertions, 0 deletions