Ticket #6536: mythweather_fix.3.patch

File mythweather_fix.3.patch, 1.0 KB (added by Marc Alban <marcalban@…>, 16 years ago)

Updating patch to trunk.

  • mythplugins/mythweather/mythweather/weather.cpp

     
    304304{
    305305    m_srcMan->stopTimers();
    306306    m_nextpage_Timer->stop();
    307     m_srcMan->clearSources();
    308     m_srcMan->findScripts();
    309307
    310308    MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
    311309
  • mythplugins/mythweather/mythweather/main.cpp

     
    6767{
    6868    MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
    6969
     70    if (!srcMan)
     71    {
     72        srcMan = new SourceManager();
     73        srcMan->startTimers();
     74        srcMan->doUpdate();
     75    }
    7076    Weather *weather = new Weather(mainStack, "mythweather", srcMan);
    7177
    7278    if (weather->Create())