summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorRaino Priha <raino.priha@nomovok.com>2010-03-02 13:38:29 (GMT)
committerAdrian Constantin <adrian.constantin@nokia.com>2010-03-02 17:22:02 (GMT)
commite3ae141989743b62dd4acc565801ff0898897065 (patch)
tree3386b224df33e721721be3c45155e8d560617ef0 /src/gui/kernel/qapplication.cpp
parent0a357d05f43a8133d8e5d3daa8204a0c55f39ff9 (diff)
downloadQt-e3ae141989743b62dd4acc565801ff0898897065.zip
Qt-e3ae141989743b62dd4acc565801ff0898897065.tar.gz
Qt-e3ae141989743b62dd4acc565801ff0898897065.tar.bz2
Allow platform specific values for the double click radius.
Task-number: QT-2883 Reviewed-by: Volker Hilsheimer
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r--src/gui/kernel/qapplication.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 4fe3900..6dda961 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -117,6 +117,10 @@ extern bool qt_wince_is_pocket_pc(); //qguifunctions_wince.cpp
#include <private/qt_cocoa_helpers_mac_p.h>
#endif
+#ifndef QT_GUI_DOUBLE_CLICK_RADIUS
+#define QT_GUI_DOUBLE_CLICK_RADIUS 5
+#endif
+
//#define ALIEN_DEBUG
static void initResources()