D14352: Use fuzzy compare for floats

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Jul 25 10:37:35 BST 2018


broulik added inline comments.

INLINE COMMENTS

> output.cpp:530
>      }
> -    if (d->scale != other->d->scale) {
> +    if (qFuzzyCompare(d->scale, other->d->scale)) {
>          changes << &Output::scaleChanged;

Missing negation

REPOSITORY
  R110 KScreen Library

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

To: gladhorn, #plasma
Cc: 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/20180725/e6f906d4/attachment-0001.html>


More information about the Plasma-devel mailing list