diff options
author | Jonathan Liu <net147@gmail.com> | 2013-11-22 05:22:43 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-22 12:37:34 (GMT) |
commit | 106335e4659530125faf8cce62e3367e88ddae14 (patch) | |
tree | 5d2077fc494e42b8148b50d0fe0a11a21e3da222 | |
parent | 42dfb4f04d3543222bbfbfeed7528f68ec647766 (diff) | |
download | Qt-106335e4659530125faf8cce62e3367e88ddae14.zip Qt-106335e4659530125faf8cce62e3367e88ddae14.tar.gz Qt-106335e4659530125faf8cce62e3367e88ddae14.tar.bz2 |
QThread: Fix link to snippet in documentation
Change-Id: Ie27b3ae36dcf98cef4b612387aff448bc0421d29
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
-rw-r--r-- | src/corelib/thread/qthread.cpp | 2 |
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 |