[Marble-commits] KDE/kdeedu/marble/src/plugins/render/weather

Bastian Holst bastianholst at gmx.de
Thu Jul 16 08:22:32 CEST 2009


SVN commit 997595 by bholst:

Correct translation and compiling is possible in not QObjects with QObject::tr() (static). Changed this for Marble's Weather Item.

 M  +1 -1      WeatherItem.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/weather/WeatherItem.cpp #997594:997595
@@ -39,7 +39,7 @@
  public:
     WeatherItemPrivate( WeatherItem *parent )
         : m_priority( 0 ),
-          m_action( new QAction( "Weather", parent ) ),
+          m_action( new QAction( QObject::tr( "Weather" ), parent ) ),
           m_parent( parent ),
           m_temperatureSize()
     {


More information about the Marble-commits mailing list