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:
parent
bc75a8963e
commit
9bd270f64d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user