Ticket #5486: mythvideo-cast.diff

File mythvideo-cast.diff, 1.2 KB (added by wstewart@…, 16 years ago)
  • mythvideo/mythvideo/videomanager.cpp

    diff -Naur mythplugins-tmp/mythvideo/mythvideo/videomanager.cpp mythplugins/mythvideo/mythvideo/videomanager.cpp
    old new  
    25972597            Metadata::cast_list cast;
    25982598            QStringList cl = QStringList::split(",", data["Cast"]);
    25992599
    2600             for (QStringList::const_iterator p = cl.begin();
    2601                  p != cl.end(); ++p)
     2600            QStringList::const_iterator p = cl.end();
     2601            while (p != cl.begin())
    26022602            {
     2603                --p;
    26032604                QString cn = (*p).stripWhiteSpace();
    26042605                if (cn.length())
    26052606                {
  • mythvideo/mythvideo/videoutils.cpp

    diff -Naur mythplugins-tmp/mythvideo/mythvideo/videoutils.cpp mythplugins/mythvideo/mythvideo/videoutils.cpp
    old new  
    126126    }
    127127
    128128    if (!al.count())
    129         al << QObject::tr("None defined");
     129        al << QObject::tr("");
    130130
    131131    return al;
    132132}