diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-19 09:53:25 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-24 06:40:55 +0000 |
commit | 8c6674fa84f5d8dcf2cabfac6b6182e92e0a9319 (patch) | |
tree | fe9fad231aff7a786b03541547dac8f6dded1f18 /tests | |
parent | b7993a652ef89f459e0fd2c548f40b3bd2837778 (diff) |
Qt Designer: Modernize the ui4.cpp/.h files
Silence clang-tidy warnings in the generated files
- use nullptr [modernize-use-nullptr]:
Use nullptr where applicable and simplify the switch()
statement in write() on this occasion to use member variables
instead of accessors.
- use '= default' to define a trivial destructor [modernize-use-equals-default]
Check if any delete statements are required. If not, use "= default".
- use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
Use auto.
Change-Id: I48abfd8719b1ee66d68014cc02038a7decb70d4c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions