-rw-r--r-- | noncore/todayplugins/weather/weatherpluginwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/todayplugins/weather/weatherpluginwidget.cpp b/noncore/todayplugins/weather/weatherpluginwidget.cpp index 6444ebf..f4ea0f2 100644 --- a/noncore/todayplugins/weather/weatherpluginwidget.cpp +++ b/noncore/todayplugins/weather/weatherpluginwidget.cpp @@ -80,6 +80,4 @@ void WeatherPluginWidget::timerEvent( QTimerEvent *e ) void WeatherPluginWidget::retreiveData() { - startTimer( frequency * 60000 ); - Config config( "todayweatherplugin"); config.setGroup( "Config" ); @@ -88,4 +86,6 @@ void WeatherPluginWidget::retreiveData() useMetric = config.readBoolEntry( "Metric", TRUE ); frequency = config.readNumEntry( "Frequency", 5 ); + + startTimer( frequency * 60000 ); localFile = "/tmp/"; |