Review Request 125877: Fix kdeplatformtheme_unittest after last commit
David Rosca
nowrep at gmail.com
Thu Oct 29 20:43:17 UTC 2015
> On Oct. 29, 2015, 8:26 p.m., Aleix Pol Gonzalez wrote:
> > autotests/kdeplatformtheme_unittest.cpp, line 237
> > <https://git.reviewboard.kde.org/r/125877/diff/1/?file=413361#file413361line237>
> >
> > What does `qApp->wheelScrollLines()` return now?
>
> David Rosca wrote:
> It returned the value I have set in mouse kcm, because the test KdePlatformTheme is not installed to qApp (and WheelScrollLines is now set as themeHint instead of directly calling qApp->setWheelScrollLines)
>
> Aleix Pol Gonzalez wrote:
> So the behavior on all applications that used qApp->wheelScrollLines() changed now?
No, it just can't be set with QApplication::setWheelScrollLines (from KdePlatformTheme constructor) because QApplication is querying QPlatformTheme for the value.
That is with Qt 5.5, older version didn't have the WheelScrollLines hint.
- David
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125877/#review87695
-----------------------------------------------------------
On Oct. 29, 2015, 8:22 p.m., David Rosca wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125877/
> -----------------------------------------------------------
>
> (Updated Oct. 29, 2015, 8:22 p.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: frameworkintegration
>
>
> Description
> -------
>
> see summary
>
>
> Diffs
> -----
>
> autotests/kdeplatformtheme_unittest.cpp f660ffd
>
> Diff: https://git.reviewboard.kde.org/r/125877/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> David Rosca
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151029/6eddd7fc/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list