diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-03-10 16:09:51 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-14 15:27:38 +0100 |
commit | 8bbc1eaeb692368ae896072b24eb1a1b8d469cad (patch) | |
tree | e6f354116b8242d27337e42f0a1d84c2fa827782 | |
parent | 563342d7ef7e490239cba6d335849ebb91983b9a (diff) |
docs: QApplication::startDragDistance default value is 10
This comes from QPlatformTheme::defaultThemeHint().
Change-Id: I12a9add3af65e819a06b66d958acb8f21cfe0e13
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
-rw-r--r-- | src/widgets/kernel/qapplication.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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} */ |