D23732: [kded] Support fractional output scale

David Edmundson noreply at phabricator.kde.org
Fri Sep 6 10:33:13 BST 2019


davidedmundson added inline comments.

INLINE COMMENTS

> output.cpp:357
> +    // Round scale to one digit.
> +    info[QStringLiteral("scale")] = int(output->scale() * 10 + 0.5) / 10.;
> +

i don't understand why we need/want this.

KConfig won't corrupt a double through a save/restore.

REPOSITORY
  R104 KScreen

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

To: romangg, #plasma
Cc: davidedmundson, broulik, cfeck, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190906/c8d94a90/attachment.html>


More information about the Plasma-devel mailing list