| Summary: | adding location in "set geographic location" says "could not parse coordinates | ||
|---|---|---|---|
| Product: | [Applications] kstars | Reporter: | disclosed <k_b0000> |
| Component: | general | Assignee: | kstars |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | akarsh.simha, mboquien |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
disclosed
2008-12-27 19:01:38 UTC
SVN commit 902623 by asimha: The code in the Location Dialog was using QString::toDouble() to convert the text in the time zone box into an integer. This did not work with localization settings that use anything other than '.' for a decimal point. The patch fixes this by converting the localized version of the decimal point to '.' and then calling toDouble() on the string. [As done in dms::setFromString()] CCMAIL: kstars-devel@kde.org BUG: 178908 M +3 -1 locationdialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=902623 |