D11740: ktooltipwidget: Subtract margins from available size

Christoph Feck noreply at phabricator.kde.org
Tue Mar 27 10:20:40 UTC 2018


cfeck added inline comments.

INLINE COMMENTS

> ktooltipwidget.cpp:142
>          }
> +        Q_ASSERT(x >= 0);
>          if (hasRoomBelow) {

Crashes if size.width > screenGeometry.width. What was wrong with the qMax?

REPOSITORY
  R236 KWidgetsAddons

REVISION DETAIL
  https://phabricator.kde.org/D11740

To: michaelh, #frameworks
Cc: elvisangelaccio, cfeck, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180327/b120564f/attachment.html>


More information about the Kde-frameworks-devel mailing list