diff options
author | Marc Mutz <[email protected]> | 2025-06-30 16:58:26 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-07-15 12:06:36 +0000 |
commit | d782b2924c8c61b98c987def379caa53158990ac (patch) | |
tree | 1399524b57f638a05b64cf2ba30f2962f2838851 /src/tools/qdoc/helpprojectwriter.cpp | |
parent | 408e0c04ebbea28b4546ed82e984c4e64761cce5 (diff) |
After the first patch already reliably removes the temp files left by
the test in most cases, this patch plugs the remaining hole, namely
that the insert() hasn't happened, yet, when the contains() QVERIFY()
fails, and we therefore don't QFile::remove() the youngest temp
file.
Use QDuplicateTracker, whose raison d'etre is that it has API that
does lookup and insert in one go, so that a failed QVERIFY will have
already added the file name to the container. We recently added
iteration support to QDuplicateTracker, making it possible to use it
here as a drop-in replacement for QSet.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ia6d1cfa50e452cf583935d5f76aa1cb6794d6eeb
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/tools/qdoc/helpprojectwriter.cpp')
0 files changed, 0 insertions, 0 deletions