diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/windows/qwindowsintegration.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwindowsintegration.cpp b/src/plugins/platforms/windows/qwindowsintegration.cpp index d46c138c96..26c7d548bc 100644 --- a/src/plugins/platforms/windows/qwindowsintegration.cpp +++ b/src/plugins/platforms/windows/qwindowsintegration.cpp @@ -362,12 +362,15 @@ QVariant QWindowsIntegration::styleHint(QPlatformIntegration::StyleHint hint) co #endif case QPlatformIntegration::StartDragTime: case QPlatformIntegration::StartDragDistance: - case QPlatformIntegration::MouseDoubleClickInterval: case QPlatformIntegration::KeyboardInputInterval: case QPlatformIntegration::ShowIsFullScreen: break; // Not implemented case QPlatformIntegration::FontSmoothingGamma: return QVariant(QWindowsFontDatabase::fontSmoothingGamma()); + case QPlatformIntegration::MouseDoubleClickInterval: + if (const int ms = GetDoubleClickTime()) + return QVariant(ms); + break; } return QPlatformIntegration::styleHint(hint); } |