summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-08 12:55:54 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-08 14:23:30 (GMT)
commit168f75927390d4ab726870946d60604abf994654 (patch)
tree9c0ff68b880dc00d9695b5addb9991afda787020 /src/corelib/thread/qthread.cpp
parentc7296d97ae0dc92b2383dfd47e1f85aa570d5d0c (diff)
downloadQt-168f75927390d4ab726870946d60604abf994654.zip
Qt-168f75927390d4ab726870946d60604abf994654.tar.gz
Qt-168f75927390d4ab726870946d60604abf994654.tar.bz2
Small simplification on code
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
-rw-r--r--src/corelib/thread/qthread.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp
index 2fb6335..8fba574 100644
--- a/src/corelib/thread/qthread.cpp
+++ b/src/corelib/thread/qthread.cpp
@@ -113,12 +113,6 @@ QThreadData::~QThreadData()
// fprintf(stderr, "QThreadData %p destroyed\n", this);
}
-QThreadData *QThreadData::get2(QThread *thread)
-{
- Q_ASSERT_X(thread != 0, "QThread", "internal error");
- return thread->d_func()->data;
-}
-
void QThreadData::ref()
{
#ifndef QT_NO_THREAD