diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-06-03 11:43:24 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-06-06 18:30:40 +0200 |
commit | 54bf20af5dca8ccd835344fd46a9c4c1ee7b8c61 (patch) | |
tree | 1170ef2ebe4fd4ec74068fb93bebde0ad3188894 /src/widgets/kernel/qwidgetwindow.cpp | |
parent | d0b3aaecd90ba7d899c5ee950c836376e7a87eb9 (diff) |
QString: towards QStringView::arg() pt.1: modernize some code
Replace explicit iterator loops with ranged for loops.
Also remove the pointless detach() of the QString result, caused by
calling mutable data() instead of using the old trick of const-casting
constData().
Change-Id: Ia7e2cb2926dc30b4dba33200b17697fd33d22446
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/kernel/qwidgetwindow.cpp')
0 files changed, 0 insertions, 0 deletions