tst_QProcess: remove duplicate DisableCrashLogger variable

Amends 90bc0ad41f9937f9cba801b3166635f6f55e0678.

Pick-to: 6.8
Change-Id: I3faad81a5748ed0942d4fffd93c82124fc18b751
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 08cd38078e11988530251240096b3686e26dd783)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Thiago Macieira 2025-01-17 18:29:43 -08:00 committed by Qt Cherry-pick Bot
parent 5dbe3ecde8
commit c88a8c78bd

View File

@ -1677,9 +1677,6 @@ void tst_QProcess::terminateInChildProcessModifier()
QFETCH(QProcess::ExitStatus, exitStatus);
QFETCH(bool, stderrIsEmpty);
// temporarily disable QTest's crash logger
DisableCrashLogger disableCrashLogging;
// testForwardingHelper prints to both stdout and stderr, so if we fail to
// fail we should be able to tell too
QProcess process;