summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadpool.h
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-04-16 14:39:36 +0300
committerQt by Nokia <qt-info@nokia.com>2012-04-17 18:44:13 +0200
commitdab2e1fea776062fca8dcca7c81dec82bfe34839 (patch)
tree12ddc34cb6c3df71cd80e0f8d680c5de77f898ce /src/corelib/thread/qthreadpool.h
parentcbaf52b09971edf6f3e1458f7dd677b80a1568ed (diff)
QThreadPool: unify waitForDone() overloads
Change-Id: I1515a65fab37588372794422a43ed09ac076e108 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/corelib/thread/qthreadpool.h')
-rw-r--r--src/corelib/thread/qthreadpool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/thread/qthreadpool.h b/src/corelib/thread/qthreadpool.h
index 9fc023c56d..dd931713f7 100644
--- a/src/corelib/thread/qthreadpool.h
+++ b/src/corelib/thread/qthreadpool.h
@@ -83,8 +83,7 @@ public:
void reserveThread();
void releaseThread();
- void waitForDone();
- bool waitForDone(int msecs);
+ bool waitForDone(int msecs = -1);
};
QT_END_NAMESPACE