diff options
-rw-r--r-- | src/corelib/thread/qthreadstorage.cpp | 2 | ||||
-rw-r--r-- | tests/auto/qthread/tst_qthread.cpp | 2 |
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)); } |