Review Request 112674: Bugfix: Make the calculator applet calculate correct

Paul Rohrbach p.b.r at gmx.net
Wed Sep 11 17:00:21 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112674/
-----------------------------------------------------------

Review request for Plasma.


Description
-------

This patch should solve bug 313869.

The bug reported this behaviour: if you press something like 'a+b+c=', the result would be incorrect because the calculator plasmoid wrongly resets the calculator when pressing 'c'. The intended behaviour is that the calculation is cleared when pressing a number after pressing '='.

This patch adds a variable to determine this situation correctly.


This addresses bug 313869.
    http://bugs.kde.org/show_bug.cgi?id=313869


Diffs
-----

  applets/calculator/package/contents/ui/calculator.qml b4f0654 

Diff: http://git.reviewboard.kde.org/r/112674/diff/


Testing
-------

It works for me in Plasmate.


Thanks,

Paul Rohrbach

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130911/ece1d40a/attachment.html>


More information about the Plasma-devel mailing list