summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2010-11-23 18:58:47 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2010-11-23 18:58:47 (GMT)
commitdfad32bca1a2d96a3096e37a271af457930a80a6 (patch)
treeebb78a497c169e27ec77e4838f1934dd110da40f
parent167a100f8fab7644d78ef219dbdd1a28f0e51cee (diff)
downloadQt-dfad32bca1a2d96a3096e37a271af457930a80a6.zip
Qt-dfad32bca1a2d96a3096e37a271af457930a80a6.tar.gz
Qt-dfad32bca1a2d96a3096e37a271af457930a80a6.tar.bz2
Doc: Fixing typo
-rw-r--r--src/corelib/thread/qthreadstorage.cpp2
-rw-r--r--tests/auto/qthread/tst_qthread.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qthreadstorage.cpp b/src/corelib/thread/qthreadstorage.cpp
index 8df6f39..07d940f 100644
--- a/src/corelib/thread/qthreadstorage.cpp
+++ b/src/corelib/thread/qthreadstorage.cpp
@@ -279,7 +279,7 @@ void QThreadStorageData::finish(void **p)
If T is a pointer type, returns true if the calling thread has
non-zero data available.
- If T is a value type, returns wether the data has already been
+ If T is a value type, returns whether the data has already been
constructed by calling setLocalData or localData.
\sa localData()
diff --git a/tests/auto/qthread/tst_qthread.cpp b/tests/auto/qthread/tst_qthread.cpp
index 49c3576..1e14b6a 100644
--- a/tests/auto/qthread/tst_qthread.cpp
+++ b/tests/auto/qthread/tst_qthread.cpp
@@ -1063,7 +1063,7 @@ void tst_QThread::wait3_slowDestructor()
//QVERIFY(elapsed < Waiting_Thread::WaitTime * 1.4);
slow.cond.wakeOne();
- //now the thread shoud finish quickly
+ //now the thread should finish quickly
QVERIFY(thread.wait(one_minute));
}