From 1a58e78db0e41da0423a50ffa900a6d90e83a0d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 31 Jan 2020 18:19:14 +0100 Subject: testlib: Be more selective in choosing to show stacktraces on macOS The built in crash reporter on macOS will by default not show the dialog if the application is not one that will run in the foreground. Change-Id: I0020520ae2f14a0e2f84fdca1d80ec6fe1247ffd Reviewed-by: Simon Hausmann Reviewed-by: Timur Pocheptsov --- src/testlib/qtestutil_macos_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testlib/qtestutil_macos_p.h') diff --git a/src/testlib/qtestutil_macos_p.h b/src/testlib/qtestutil_macos_p.h index 36f27167c0..c9a152dfdb 100644 --- a/src/testlib/qtestutil_macos_p.h +++ b/src/testlib/qtestutil_macos_p.h @@ -58,6 +58,7 @@ QT_BEGIN_NAMESPACE namespace QTestPrivate { void disableWindowRestore(); + bool macCrashReporterWillShowDialog(); class AppNapDisabler { -- cgit v1.2.3