summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/snippets.pro
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-04-17 18:02:15 +0200
committerMarc Mutz <marc.mutz@qt.io>2024-04-18 19:06:01 +0200
commitd4aaf61b3333b48b4e79ad60b63bb50dbea72617 (patch)
tree356a1f3cb892d7c34955aad34a58b551b63832fb /src/widgets/doc/snippets/snippets.pro
parent96f78cbdd9412e6043bb4eb0d0dd818c5d800151 (diff)
tst_QRestAccessManager: leak less on failure
Move some deleteLater() calls to before the first QCOMPARE/QVERIFY macros, so they get executed even if the macros return on failure. This isn't an all-encompassing solution, but I lack the time to port all this to smart pointers, and this is some improvement. As a drive-by, port QVERIFY(opt.has_value()) to QCOMPARE(opt, nullopt). Task-number: QTBUG-120307 Pick-to: 6.7 Change-Id: Ia5a2cabd273a779938b22badc91b109fcc545203 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/snippets.pro')
0 files changed, 0 insertions, 0 deletions