diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-06-02 12:15:05 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-06-03 16:14:00 +0200 |
commit | 4652da536a5db3608e6026b27dfe808227b721f2 (patch) | |
tree | 9097a098f7125e8bfee892bce945c56f8f678403 /tests/auto/gui/rhi/qrhi/tst_qrhi.cpp | |
parent | 5dff645db012fb6534cecaf659aadbd5c6be7bfd (diff) |
tst_QDateTimeEdit::editingRanged(): use QScopedPointer
Test would previously have leaked on failure.
While checking for other uses of delete-after-checks, simplify one
place that tested deleting a calendar widget lead to recreation.
Pick-to: 5.15 6.1
Change-Id: I9524902a02dd42793bcf71113c6799dc925ac4a0
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/gui/rhi/qrhi/tst_qrhi.cpp')
0 files changed, 0 insertions, 0 deletions