From 8bbc1eaeb692368ae896072b24eb1a1b8d469cad Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Mon, 10 Mar 2014 16:09:51 +0100 Subject: [PATCH] docs: QApplication::startDragDistance default value is 10 This comes from QPlatformTheme::defaultThemeHint(). Change-Id: I12a9add3af65e819a06b66d958acb8f21cfe0e13 Reviewed-by: Jerome Pasion Reviewed-by: Laszlo Agocs --- src/widgets/kernel/qapplication.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index 9e221c1bf4..cb6f4aeecd 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -2691,7 +2691,8 @@ void QApplication::setStartDragDistance(int l) Qt uses this value internally, e.g. in QFileDialog. - The default value is 4 pixels. + The default value (if the platform doesn't provide a different default) + is 10 pixels. \sa startDragTime(), QPoint::manhattanLength(), {Drag and Drop} */