diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2015-11-04 12:38:59 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2015-11-19 11:30:07 +0000 |
| commit | 139fd9bd0d0bd2372d7616bbf533f70c18667ecc (patch) | |
| tree | 40c2d488264c9e7e8b9091b075696cc086977c0a /src/corelib/codecs | |
| parent | 72c68f5f220d691b475b42374b40039b99620876 (diff) | |
QString::vasprintf: Extract Method parse_flag_characters
... and simplify the method afterwards:
Drop the boolean that was used to control program
flow when the code was still part of vasprintf(),
by taking advantage of the fact that we can now
just return from the function to break out of both
the switch and the loop.
Change-Id: I97f050b63c0c309aaed3cb0fe979d53c8d970003
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/corelib/codecs')
0 files changed, 0 insertions, 0 deletions
