Have a sensible default double click interval.

Having 0 as default would disable double clicks completely which
is not really good.

Reviewed-by: Samuel Rødal
This commit is contained in:
Laszlo Agocs 2011-05-31 14:18:47 +02:00
parent bc75a8963e
commit 9bd270f64d

View File

@ -80,8 +80,8 @@ Q_GUI_EXPORT bool qt_is_gui_used = true;
Qt::MouseButtons QGuiApplicationPrivate::mouse_buttons = Qt::NoButton;
Qt::KeyboardModifiers QGuiApplicationPrivate::modifier_buttons = Qt::NoModifier;
int QGuiApplicationPrivate::keyboard_input_time = 0;
int QGuiApplicationPrivate::mouse_double_click_time = 0;
int QGuiApplicationPrivate::keyboard_input_time = 400;
int QGuiApplicationPrivate::mouse_double_click_time = 400;
QPlatformIntegration *QGuiApplicationPrivate::platform_integration = 0;