Ticket #5486: mythvideo-cast.2.diff

File mythvideo-cast.2.diff, 1.2 KB (added by wstewart@…, 15 years ago)

Updated for trunk

  • mythvideo/mythvideo/videodlg.cpp

    diff -Naurp --exclude='*.orig' mythplugins-orig/mythvideo/mythvideo/videodlg.cpp mythplugins/mythvideo/mythvideo/videodlg.cpp
    old new void VideoDialog::OnVideoSearchByUIDDone 
    14881488        Metadata::cast_list cast;
    14891489        QStringList cl = data["Cast"].split(",", QString::SkipEmptyParts);
    14901490
    1491         for (QStringList::const_iterator p = cl.begin();
    1492             p != cl.end(); ++p)
     1491        QStringList::const_iterator p = cl.end();
     1492        while (p != cl.begin())
    14931493        {
     1494            --p;
    14941495            QString cn = (*p).trimmed();
    14951496            if (cn.length())
    14961497            {
  • mythvideo/mythvideo/videoutils.cpp

    diff -Naurp --exclude='*.orig' mythplugins-orig/mythvideo/mythvideo/videoutils.cpp mythplugins/mythvideo/mythvideo/videoutils.cpp
    old new QStringList GetCastList(const Metadata & 
    202202    }
    203203
    204204    if (!al.count())
    205         al << QObject::tr("None defined");
     205        al << QObject::tr("");
    206206
    207207    return al;
    208208}