Review Request 128201: statusbarprogresswidget::m_pButton: use WA_LayoutUsesWidgetRect instead of setMaximumHeight
Milian Wolff
mail at milianw.de
Thu Jun 16 21:19:07 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128201/#review96609
-----------------------------------------------------------
did you test it under linux? does it look the same there? if so, +1, if not, please test or keep the ifdef in.
- Milian Wolff
On June 15, 2016, 9:01 p.m., René J.V. Bertin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128201/
> -----------------------------------------------------------
>
> (Updated June 15, 2016, 9:01 p.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdevplatform
>
>
> Description
> -------
>
> I came across this old bit of code, judging from the use of the deprecated `Q_OS_MAC` token.
> Some quick testing suggests that using `WA_LayoutUsesWidgetRect` achieves what I think is the intended effect without platform-specific code. (That platform test ought really check for using the `macintosh` widget style btw, rather than "are we running on OS X").
>
>
> Diffs
> -----
>
> shell/progresswidget/statusbarprogresswidget.cpp 1a32ea8
>
> Diff: https://git.reviewboard.kde.org/r/128201/diff/
>
>
> Testing
> -------
>
> For now only on OS X, with the native theme as well as QtCurve, Breeze and Oxygen.
>
>
> Thanks,
>
> René J.V. Bertin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20160616/a1101596/attachment.html>
More information about the KDevelop-devel
mailing list