Ticket #6863: mythnews.patch

File mythnews.patch, 586 bytes (added by Marc Alban <marcalban@…>, 16 years ago)

Patch to fix the segfault in MythNews

  • mythplugins/mythnews/mythnews/mythnews.cpp

     
    774774    if (it == m_articles.end())
    775775        return;
    776776
    777     if ((*it).title().isEmpty())
     777    const NewsArticle article = *it;
     778
     779    if (article.articleURL().isEmpty())
    778780        return;
    779781
    780     const NewsArticle article = *it;
    781 
    782782    if (article.enclosure().isEmpty())
    783783    {
    784784        QString cmdUrl(article.articleURL());