summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qtcast/qtcast.cpp
diff options
context:
space:
mode:
authorTim Blechmann <tim.blechmann@qt.io>2025-10-27 11:31:03 +0800
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2025-11-25 07:26:16 +0000
commite9b6cdc07caf489ae9dddcf978cb36344c87c232 (patch)
treea78c8710c6455fb9cdd2cfd404b0b5410dfb4ad8 /doc/src/snippets/qtcast/qtcast.cpp
parent36cee508a088e1570e1d89e060c3ccd14585d3f1 (diff)
QTextDocument: fix repeated calls of unit tests
Tests may set the default resource provider. Calling the test multiple times results in a heap-use-after-free error/crash. So we need to unset the default resource provider. Amends ccf1a1a9536be7b904494f5b3243202d71a33b06. Pick-to: 6.10 Change-Id: I6bc1d67af54534e85fe95dc57236499bc2e7b923 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'doc/src/snippets/qtcast/qtcast.cpp')
0 files changed, 0 insertions, 0 deletions