--===============7276558145713158540== Content-Type: multipart/alternative; boundary="===============2033511988857000614==" --===============2033511988857000614== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- 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 --===============2033511988857000614== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127802/

Review request for Plasma.
By Kai Uwe Broulik.
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.

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".

Diffs

  • runners/converter/converterrunner.cpp (d9cffc3)

View Diff

--===============2033511988857000614==-- --===============7276558145713158540== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUGxhc21hLWRl dmVsIG1haWxpbmcgbGlzdApQbGFzbWEtZGV2ZWxAa2RlLm9yZwpodHRwczovL21haWwua2RlLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL3BsYXNtYS1kZXZlbAo= --===============7276558145713158540==--