Ticket #9520: 80-gallery-mediamon-medias.diff

File 80-gallery-mediamon-medias.diff, 670 bytes (added by Lawrence Rust <lvr@…>, 10 years ago)
  • mythplugins/mythgallery/mythgallery/iconview.cpp

    diff --git mythplugins/mythgallery/mythgallery/iconview.cpp mythplugins/mythgallery/mythgallery/iconview.cpp
    index da7f35b..d23f559 100644
    bool IconView::HandleMediaEscape(MediaMonitor *mon) 
    612619{
    613620    bool handled = false;
    614621    QDir curdir(m_currDir);
    615     QList<MythMediaDevice*> removables = mon->GetMedias(MEDIATYPE_DATA);
     622    QList<MythMediaDevice*> removables = mon->GetMedias(MEDIATYPE_DATA|MEDIATYPE_MGALLERY);
    616623    QList<MythMediaDevice*>::iterator it = removables.begin();
    617624    for (; !handled && (it != removables.end()); it++)
    618625    {