Review Request 127802: [Converter Runner] Try QLocale::toDouble to get input value

Kai Uwe Broulik kde at privat.broulik.de
Sat Apr 30 23:00:46 UTC 2016


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

Review request for Plasma.


Repository: kdeplasma-addons


Description
-------

Only if that fails, it tries QString::toDouble and if even that fails it skips. This allows the user to enter numbers in a more natural way.


Diffs
-----

  runners/converter/converterrunner.cpp d9cffc3 

Diff: https://git.reviewboard.kde.org/r/127802/diff/


Testing
-------

I can now convert "5,5ft" (comma being the decimal indicator in German) or "1.524m" (period being the thousand separator in German).

I can also still enter "5.5ft".


Thanks,

Kai Uwe Broulik

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


More information about the Plasma-devel mailing list