diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-19 10:42:43 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-24 20:22:17 +0000 |
commit | 8d8a830f1377ad8838ac017d93a959d8bfef3aff (patch) | |
tree | 46570d5888a1a5ddc85d9c4e9c1a5ed2e36fbeb2 /mkspecs/winrt-x64-msvc2015 | |
parent | 731538fdd469452e721b568fcbd808b437332008 (diff) |
uic: Modernize the ui4.cpp/.h files
Apply a change from Qt Designer.
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: I7b48872fd42a6118e7cca8510aacb9ffa7e01839
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'mkspecs/winrt-x64-msvc2015')
0 files changed, 0 insertions, 0 deletions