D26493: [nightcolor] Fix division by zero

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.