summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-06-19 18:22:44 -0700
committerQt by Nokia <qt-info@nokia.com>2012-06-21 10:55:39 +0200
commitfd1b7b4cac63e80b2fd93680287c44ab91f8faca (patch)
tree0dcce1ff3693a4cab08c3ae9a28427282aac3a74 /src
parentc7e21f392355fddcf586815ed42279a3663bf981 (diff)
Remove QWS references from testlib
Change-Id: Iad52a5c44b27cb11a47987c9f8890cc67b557fb7 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/testlib/qbenchmarkvalgrind.cpp7
-rw-r--r--src/testlib/qtestcase.cpp4
2 files changed, 0 insertions, 11 deletions
diff --git a/src/testlib/qbenchmarkvalgrind.cpp b/src/testlib/qbenchmarkvalgrind.cpp
index c4a4990a36..a2c7345be3 100644
--- a/src/testlib/qbenchmarkvalgrind.cpp
+++ b/src/testlib/qbenchmarkvalgrind.cpp
@@ -195,13 +195,6 @@ bool QBenchmarkValgrindUtils::runCallgrindSubProcess(const QStringList &origAppA
<< 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) {
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index cf1d0be41b..e0c330d74a 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -1970,9 +1970,6 @@ FatalSignalHandler::FatalSignalHandler()
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 ||
@@ -1980,7 +1977,6 @@ FatalSignalHandler::FatalSignalHandler()
oldact.sa_handler != SIG_DFL) {
sigaction(fatalSignals[i], &oldact, 0);
} else
-#endif
{
sigaddset(&handledSignals, fatalSignals[i]);
}