summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/weather/weatherpluginwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/todayplugins/weather/weatherpluginwidget.cpp b/noncore/todayplugins/weather/weatherpluginwidget.cpp
index 8440f20..4491b91 100644
--- a/noncore/todayplugins/weather/weatherpluginwidget.cpp
+++ b/noncore/todayplugins/weather/weatherpluginwidget.cpp
@@ -253,17 +253,17 @@ void WeatherPluginWidget::getPressure( const QString &data )
if ( pos > -1 )
{
value = data.mid( pos + 1, 4 ).toFloat( &ok );
if ( useMetric )
{
if ( data.mid( pos, 1 ) == "A" )
value *= 33.8639 / 100;
dataStr = QString::number( value, 'f', 2 );
- dataStr.append( tr( " hPa" ) );
+ dataStr.append( tr( " kPa" ) );
}
else
{
if ( data.mid( pos, 1 ) == "Q" )
value /= 33.8639;
else
value /= 100;
dataStr = QString::number( value, 'f', 2 );