Plasma runner: pass lonlat in C locale to marble, not localized

parent 7788664f
......@@ -156,9 +156,9 @@ void PlasmaRunner::run(const Plasma::RunnerContext &context, const Plasma::Query
const QVariantList data = match.data().toList();
// pass in C locale, should be always understood
const QString latLon =
QString::fromUtf8("%L1").arg(data.at(1).toReal()) +
QString::fromUtf8(" %L1").arg(data.at(0).toReal());
QString::number(data.at(1).toReal()) + QLatin1Char(' ') + QString::number(data.at(0).toReal());
const QString distance = data.at(2).toString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment