From dfad32bca1a2d96a3096e37a271af457930a80a6 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Tue, 23 Nov 2010 19:58:47 +0100 Subject: Doc: Fixing typo --- src/corelib/thread/qthreadstorage.cpp | 2 +- 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)); } -- cgit v0.12