summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Safronov <opeth.the@gmail.com>2018-01-21 21:04:29 +0300
committerThiago Macieira <thiago.macieira@intel.com>2018-01-25 22:41:00 +0000
commite5c02b2579f53b50120ba19b7d041818e915be28 (patch)
tree051e17b9482064e4c404b9d5172557e0b2f6a584
parentab1e50757454b5afda2f6dec52d2eb16a32d4798 (diff)
Doc: fix wrong link to the example snippet in QApplication class
Change-Id: Ib9a1b107dd8d2cd4bf541c3edf19a602fde6356f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/widgets/kernel/qapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp
index 943aeaa2d9..0a12d1f6cf 100644
--- a/src/widgets/kernel/qapplication.cpp
+++ b/src/widgets/kernel/qapplication.cpp
@@ -2868,7 +2868,7 @@ void QApplication::setStartDragDistance(int l)
and the current position (e.g. in the mouse move event) is \c currentPos,
you can find out if a drag should be started with code like this:
- \snippet code/src_gui_kernel_qapplication.cpp 6
+ \snippet code/src_gui_kernel_qapplication.cpp 7
Qt uses this value internally, e.g. in QFileDialog.