Windows: Implement QPlatformTheme::WheelScrollLines.

Obtain the system setting via SystemParametersInfo(),
amending fac71528cc.

Task-number: QTBUG-49561
Change-Id: Ie7a956fdc6b175ad09356949645c1e8937053abd
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
bb10
Friedemann Kleint 2015-11-20 14:08:53 +01:00
parent 8928076231
commit 10bea194f8
1 changed files with 2 additions and 0 deletions

View File

@ -393,6 +393,8 @@ QVariant QWindowsTheme::themeHint(ThemeHint hint) const
return QVariant(booleanSystemParametersInfo(SPI_GETSNAPTODEFBUTTON, false));
case ContextMenuOnMouseRelease:
return QVariant(true);
case WheelScrollLines:
return dWordSystemParametersInfo(SPI_GETWHEELSCROLLLINES, 3);
default:
break;
}