diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-07-25 08:57:47 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-07-26 05:57:14 +0000 |
commit | 8ea6e8d525b9dd8703ebdd0938706bd9785858a4 (patch) | |
tree | 2c5239c7b9280c717f589c75d2da35dd1664b5c5 /doc/src/snippets/code/src_corelib_tools_qqueue.cpp | |
parent | 1fcea117560fb528f6a4824b1eca930b322953f9 (diff) |
QWindowsTheme::themeHint(): Handle special value of SPI_GETWHEELSCROLLLINES
When the mouse wheel step is set to "Scroll one screen", querying
SPI_GETWHEELSCROLLLINES returns the special value unsigned(-1). Return the
default instead of converting it to int in that case since Qt does not
implement it.
Task-number: QTBUG-52384
Change-Id: I793e5c09103fe0c7c4a378aba97e9f63ae1c2f35
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'doc/src/snippets/code/src_corelib_tools_qqueue.cpp')
0 files changed, 0 insertions, 0 deletions