diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-08-26 20:53:53 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-09-14 15:50:05 +0200 |
commit | 6f8fc4217a722cf89cd3502156cc0586588fda1e (patch) | |
tree | 44bb8fa108fa6741a16e1e7d51a9ab514b832967 /tests/auto/testlib | |
parent | 02e43e6fa6f47eaedc1dd72956569aa939d90981 (diff) |
tst_QTableView: cleanup
Cleanup QTableView autotest:
- use range-based for loops where possible
- use nullptr
- use member initialization
- use new signal/slot syntax
- remove a lot of c-style casts
- use static invocations
- use override
- instantiate objects on stack instead heap to avoid memleaks
Change-Id: I52fee26697b1732afa9f965e600d4c59551370ce
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/testlib')
0 files changed, 0 insertions, 0 deletions