summaryrefslogtreecommitdiff
authorsudonix <sudonix>2004-02-15 00:16:06 (UTC)
committer sudonix <sudonix>2004-02-15 00:16:06 (UTC)
commita69419579abfd56b8b3fd7bd600e46267f09d1ce (patch) (side-by-side diff)
treeaf3169cb21baac87307a3085f3dd030bc8626ccb
parent69e24ece89e6ec530bb5e5614a2e2125e76525a9 (diff)
downloadopie-a69419579abfd56b8b3fd7bd600e46267f09d1ce.zip
opie-a69419579abfd56b8b3fd7bd600e46267f09d1ce.tar.gz
opie-a69419579abfd56b8b3fd7bd600e46267f09d1ce.tar.bz2
A small typo fixed
Diffstat (more/less context) (show 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
@@ -245,33 +245,33 @@ void WeatherPluginWidget::getWind( const QString &data )
}
void WeatherPluginWidget::getPressure( const QString &data )
{
float value;
bool ok;
int pos = data.find( QRegExp( "[AQ][0-9]+" ), 20 );
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 );
dataStr.append( tr( " Hg" ) );
}
}
else
{
dataStr = tr( "n/a" );
}
}