summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2011-03-03 16:19:05 (GMT)
committermread <qt-info@nokia.com>2011-03-09 12:48:40 (GMT)
commitef4b63c5d9424f82c17ebe614873e4205af0deb9 (patch)
tree4e08408740fecddf044caa793331308b638d622a
parentb63fa9907a3299f6b9ce158b153941be2b666cc9 (diff)
downloadQt-ef4b63c5d9424f82c17ebe614873e4205af0deb9.zip
Qt-ef4b63c5d9424f82c17ebe614873e4205af0deb9.tar.gz
Qt-ef4b63c5d9424f82c17ebe614873e4205af0deb9.tar.bz2
removing unused headers
qdebug.h was only temporarily needed for debugging. errno.h is not needed for Symbian code. Task-number: QTBUG-13990 Reviewed-by: Shane Kearns
-rw-r--r--src/corelib/thread/qmutex_symbian.cpp1
-rw-r--r--src/corelib/thread/qthread_symbian.cpp4
-rw-r--r--src/corelib/thread/qwaitcondition_symbian.cpp2
3 files changed, 1 insertions, 6 deletions
diff --git a/src/corelib/thread/qmutex_symbian.cpp b/src/corelib/thread/qmutex_symbian.cpp
index f5ff57c..288c576 100644
--- a/src/corelib/thread/qmutex_symbian.cpp
+++ b/src/corelib/thread/qmutex_symbian.cpp
@@ -41,7 +41,6 @@
#include "qplatformdefs.h"
#include "qmutex.h"
-#include <qdebug.h>
#ifndef QT_NO_THREAD
#include "qatomic.h"
diff --git a/src/corelib/thread/qthread_symbian.cpp b/src/corelib/thread/qthread_symbian.cpp
index ce93f9f..02d671b 100644
--- a/src/corelib/thread/qthread_symbian.cpp
+++ b/src/corelib/thread/qthread_symbian.cpp
@@ -45,11 +45,9 @@
#include <private/qeventdispatcher_symbian_p.h>
#include "qthreadstorage.h"
#include "qthread_p.h"
-#include "qdebug.h"
#include "qsystemerror_p.h"
#include <sched.h>
-#include <errno.h>
QT_BEGIN_NAMESPACE
@@ -183,7 +181,7 @@ public:
}
start();
}
- static void add(QThread* thread)
+ static void add(QThread *thread)
{
QMutexLocker adoptedThreadMonitorMutexlock(&adoptedThreadMonitorMutex);
if (!adoptedThreadAdder) {
diff --git a/src/corelib/thread/qwaitcondition_symbian.cpp b/src/corelib/thread/qwaitcondition_symbian.cpp
index 114811e..1e7172a 100644
--- a/src/corelib/thread/qwaitcondition_symbian.cpp
+++ b/src/corelib/thread/qwaitcondition_symbian.cpp
@@ -50,8 +50,6 @@
#include "qmutex_p.h"
#include "qreadwritelock_p.h"
-#include <errno.h>
-
#ifndef QT_NO_THREAD
QT_BEGIN_NAMESPACE