[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/weather
From:       Shawn Starr <shawn.starr () rogers ! com>
Date:       2009-12-09 9:00:08
Message-ID: 1260349208.107658.29294.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1060501 by spstarr:

Fix a typo in this. visiblity is not wind speed

 M  +1 -1      weatherapplet.cpp  


--- trunk/KDE/kdeplasma-addons/applets/weather/weatherapplet.cpp #1060500:1060501
@@ -609,7 +609,7 @@
         // Convert the wind format for nonstandard types
         QStandardItem *dataGust = new QStandardItem();
         KUnitConversion::Value v(data["Wind Gust"].toDouble(), data["Wind Gust \
                Unit"].toInt());
-        v = v.convertTo(visibilityUnit());
+        v = v.convertTo(speedUnit());
         dataGust->setText(i18nc("winds exceeding wind speed briefly", "Wind Gust: %1 \
%2", clampValue(v.number(), 1), v.unit()->symbol()));  \
m_detailsModel->appendRow(dataGust);  }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic