Ticket #6822: win32-mythtv-libs-libmyth-mediamonitor_cpp.patch

File win32-mythtv-libs-libmyth-mediamonitor_cpp.patch, 750 bytes (added by Jonathan Martens <jonathan@…>, 17 years ago)
  • libs/libmyth/mythmediamonitor.cpp

     
    103103// When ejecting one of multiple devices, present a nice name to the user
    104104static const QString DevName(MythMediaDevice *d)
    105105{
     106#ifdef _WIN32
     107    QString str = d->getDevicePath();
     108#else
    106109    QString str = d->getVolumeID();  // First choice, the name of the media
    107110
    108111    if (str.isEmpty())
     
    118121    //     are usually descriptively unique (i.e. usually good enough)
    119122    //else
    120123    //    str += " (" + d->getDeviceModel() + ", " + d->getDevicePath() + ')';
     124#endif
    121125
    122126    return str;
    123127}