summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp
index 7ebbc83..9c7060d 100644
--- a/src/corelib/thread/qthread.cpp
+++ b/src/corelib/thread/qthread.cpp
@@ -222,7 +222,7 @@ QThreadPrivate::~QThreadPrivate()
Another way to make code run in a separate thread, is to subclass QThread
and reimplement run(). For example:
- \snippet code/src_corelib_thread_qthread.cpp reimpl-run
+ \snippet doc/src/snippets/code/src_corelib_thread_qthread.cpp reimpl-run
In that example, the thread will exit after the run function has returned.
There will not be any event loop running in the thread unless you call