D11740: ktooltipwidget: Subtract margins from available size
Michael Heidelbach
noreply at phabricator.kde.org
Tue Mar 27 10:36:45 UTC 2018
michaelh added inline comments.
INLINE COMMENTS
> cfeck wrote in ktooltipwidget.cpp:142
> Crashes if size.width > screenGeometry.width. What was wrong with the qMax?
Nothing was wrong with qmax.
But with line 183-186 `size.width` should always be <= `screenGeometry.width.`
In case I got that wrong it's better to crash than to hide my misconception. :-)
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/aab424fc/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list