Ticket #11192: playbackbox.cpp.diff

File playbackbox.cpp.diff, 1.1 KB (added by amb@…, 14 years ago)

Patch for all this (as described in comment 2)

  • mythtv/programs/mythfrontend/playbackbox.cpp

    diff --git a/mythtv/programs/mythfrontend/playbackbox.cpp b/mythtv/programs/mythfrontend/playbackbox.cpp
    index 734cce1..0cdf136 100644
    a b void PlaybackBox::ShowActionPopup(const ProgramInfo &pginfo)  
    31133113    if ((asFileNotFound  == pginfo.GetAvailableStatus()) ||
    31143114        (asZeroByte      == pginfo.GetAvailableStatus()))
    31153115    {
    3116         m_popupMenu->AddItem(tr("Show Recording Details"), SLOT(showProgramDetails()));
    31173116        m_popupMenu->AddItem(tr("Delete"), SLOT(askDelete()));
    31183117
    31193118        if (m_playList.filter(pginfo.MakeUniqueKey()).size())
    void PlaybackBox::ShowActionPopup(const ProgramInfo &pginfo)  
    31243123        {
    31253124            m_popupMenu->AddItem(tr("Add to Playlist"), SLOT(togglePlayListItem()));
    31263125        }
     3126        if (m_playList.size())
     3127        {
     3128            m_popupMenu->AddItem(tr("Playlist options"), NULL, createPlaylistMenu());
     3129        }
     3130
     3131        m_popupMenu->AddItem(tr("Recording Options"), NULL, createRecordingMenu());
    31273132
    31283133        DisplayPopupMenu();
    31293134