summaryrefslogtreecommitdiffstats
path: root/.tag
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-12-17 01:38:57 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-12-21 09:30:48 +0000
commit6066af7f09460bbf72d7aaca12836ca002dcea2a (patch)
tree20b91bf9ddd978bf64a6cf733488d3e491b02987 /.tag
parent66441d7a828ddcdae709cf4699420147f376bdcd (diff)
QLineEdit: hold SideWidgetEntry in std::vector, not QVector
This is private implementation, so there's no BC issue here. The collections ported here also do not benefit from CoW, because they are never copied. Adapt to STL API and replace foreach with C++11 range-for loops, because the former deep-copies STL containers. Also replace index-based for loops with C++11 range-for, to evade the int/size_t problem on MSVC. Saves a bit more than 1KiB in text size on optimized GCC 4.9 Linux AMD64 builds, not all of which can be attributed to the ports to range-for. Change-Id: I240030180bd1b2ca40c002b03ab72319a99a87c3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to '.tag')
0 files changed, 0 insertions, 0 deletions