diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2016-12-15 10:55:43 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-06-20 09:54:35 +0000 |
commit | 0fdbd239c0504f3f7a7659261bae1cbb10c2bb06 (patch) | |
tree | deec2a40ed1f0c90577d4bcdb84f4f9df0e99542 /src/widgets | |
parent | 3fe9e5dff79590c79bc56cdee6a115d5cf6b3319 (diff) |
QDateTimeParser: partial break-up of long method to eliminate goto
Method parse() was very long, had an inner block purely to isolate
many variables and had a clean-up block at the end to which it would
goto from within that 300-line block. Split out that block as a
separate function, turn goto into premature return, clean up the
result.
Change-Id: I63ded0c0afacf4a1972a3a62c2d81834950ab729
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions