D11849: [kdecoration] properly compare opacity values

Vlad Zagorodniy noreply at phabricator.kde.org
Tue Apr 3 01:17:34 UTC 2018


zzag abandoned this revision.
zzag added a comment.


  In D11849#238798 <https://phabricator.kde.org/D11849#238798>, @davidedmundson wrote:
  
  > Whilst qFuzzyCompare is indeed needed for comparing a calculation with a value, it's not relevant in all cases, like this.
  >
  > We want setOpacity(actually zero)   to update m_opacity over   setOpacity(something near zero)  as it hypothetically changes QPainter paths which check for actual zero.
  
  
  Oh, I see.

REPOSITORY
  R31 Breeze

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

To: zzag, #breeze, davidedmundson
Cc: davidedmundson, broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180403/7e90408f/attachment.html>


More information about the Plasma-devel mailing list