summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2012-01-13 10:28:41 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-16 01:55:22 +0100
commit990e890b9ed6cfc0ee7c24d8a829cef84baf8aac (patch)
treea7916a528c666971ffdb5fd2367eb658caa9b51c /tests/auto/corelib/thread
parentf1da37e9891417a41343ca39e729e3766959157f (diff)
Changed unittests in corelib to use specific headers instead of super-headers.
Modified unittests to use specific class headers instead of using super-headers like QtCore that pull in all the headers for the module. - Decreasing build time. Change-Id: I9c3fd0767be15205893bb406f609c8283a2a3a5a Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/thread')
-rw-r--r--tests/auto/corelib/thread/qthreadstorage/crashOnExit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/corelib/thread/qthreadstorage/crashOnExit.cpp b/tests/auto/corelib/thread/qthreadstorage/crashOnExit.cpp
index 32a1fe5381..4c5fcf916a 100644
--- a/tests/auto/corelib/thread/qthreadstorage/crashOnExit.cpp
+++ b/tests/auto/corelib/thread/qthreadstorage/crashOnExit.cpp
@@ -39,7 +39,8 @@
**
****************************************************************************/
-#include <QtCore/QtCore>
+#include <QtCore/QCoreApplication>
+#include <QtCore/QThreadStorage>
class Class
{