Change-Id: Iad52a5c44b27cb11a47987c9f8890cc67b557fb7
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
<< QLatin1String("--quiet")
<< execFile << QLatin1String("-callgrindchild");
-#if (defined Q_WS_QWS)
- // While running the child process, we aren't processing events, and hence aren't
- // acting as the QWS server. Therefore it's necessary to tell the child to act
- // as its own server instead of connecting to us.
- args << QLatin1String("-qws");
-#endif
-
// pass on original arguments that make sense (e.g. avoid wasting time producing output
// that will be ignored anyway) ...
for (int i = 1; i < origAppArgs.size(); ++i) {
for (int i = 0; fatalSignals[i]; ++i) {
sigaction(fatalSignals[i], &act, &oldact);
-#ifndef Q_WS_QWS
- // Don't overwrite any non-default handlers
- // however, we need to replace the default QWS handlers
if (
#ifdef SA_SIGINFO
oldact.sa_flags & SA_SIGINFO ||
oldact.sa_handler != SIG_DFL) {
sigaction(fatalSignals[i], &oldact, 0);
} else
-#endif
{
sigaddset(&handledSignals, fatalSignals[i]);
}