Ticket #4167: patch
File patch, 1.7 KB (added by , 16 years ago) |
---|
-
programs/mythfrontend/playbackbox.cpp
2801 2801 popup->addButton(tr("Job Options"), this, 2802 2802 SLOT(showPlaylistJobPopup())); 2803 2803 popup->addButton(tr("Delete"), this, SLOT(doPlaylistDelete())); 2804 popup->addButton(tr("Delete, and allow re-record"), this, SLOT(doPlaylistDeleteForgetHistory())); 2804 2805 2805 2806 playButton->setFocus(); 2806 2807 … … 3575 3576 playList.clear(); 3576 3577 } 3577 3578 3579 void PlaybackBox::doPlaylistDeleteForgetHistory(void) 3580 { 3581 if (!expectingPopup) 3582 return; 3583 3584 cancelPopup(); 3585 3586 ProgramInfo *tmpItem; 3587 QStringList::Iterator it; 3588 3589 for (it = playList.begin(); it != playList.end(); ++it ) 3590 { 3591 tmpItem = findMatchingProg(*it); 3592 if (tmpItem && (REC_CAN_BE_DELETED(tmpItem))) 3593 RemoteDeleteRecording(tmpItem, true, false); 3594 } 3595 3596 connected = FillList(); 3597 playList.clear(); 3598 } 3599 3578 3600 void PlaybackBox::doUndelete(void) 3579 3601 { 3580 3602 if (!expectingPopup) -
programs/mythfrontend/playbackbox.h
222 222 void stopPlaylistUserJob4() { stopPlaylistJobQueueJob(JOB_USERJOB4); } 223 223 void doClearPlaylist(); 224 224 void doPlaylistDelete(); 225 void doPlaylistDeleteForgetHistory(); 225 226 void doPlaylistChangeRecGroup(); 226 227 void doPlaylistChangePlayGroup(); 227 228 void togglePlayListTitle(void);