D26493: [nightcolor] Fix division by zero

Vlad Zahorodnii noreply at phabricator.kde.org
Tue Jan 7 13:18:45 GMT 2020


zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION SUMMARY
  If qAbs(targetTemp - m_currentTemp) is less than TEMPERATURE_STEP, then
  it will result in a division by zero.
  
  FIXED-IN: 5.18.0
  BUG: 415359

REPOSITORY
  R108 KWin

BRANCH
  night-color-fix-division-by-zero

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

AFFECTED FILES
  colorcorrection/manager.cpp

To: zzag, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200107/e788ea45/attachment.html>


More information about the kwin mailing list