[mythtv-commits] Ticket #9286: Selection Doesn't "Take" in the Information Center > System Status

MythTV noreply at mythtv.org
Tue Feb 1 17:12:11 UTC 2011


#9286: Selection Doesn't "Take" in the Information Center > System Status
------------------------------------------------+--------------------------
 Reporter:  Scott Harris <snharris99@…>         |          Owner:  stuartm
     Type:  Bug Report                          |         Status:  assigned
 Priority:  minor                               |      Milestone:  unknown
Component:  MythTV - User Interface Library     |        Version:
 Severity:  low                                 |  0.24-fixes
 Keywords:                                      |     Resolution:
                                                |  Ticket locked:  0
------------------------------------------------+--------------------------

Comment (by stuartm):

 Please test the following patch for the second issue, I can't test this
 without deleting recording I'd like to keep. Be warned that there is
 potential for deleting the wrong recording if the index is wrong!

 {{{

 diff --git a/mythtv/programs/mythfrontend/statusbox.cpp
 b/mythtv/programs/mythfrontend/statusbox.cpp
 index ec23b0a..44182c5 100644
 --- a/mythtv/programs/mythfrontend/statusbox.cpp
 +++ b/mythtv/programs/mythfrontend/statusbox.cpp
 @@ -445,6 +445,7 @@ void StatusBox::customEvent(QEvent *event)
                  RemoteDeleteRecording(
                      rec->GetChanID(), rec->GetRecordingStartTime(),
                      false, false);
 +                m_expList.erase(m_expList.begin() +
 m_logList->GetCurrentPos());
                  m_logList->RemoveItem(m_logList->GetItemCurrent());
              }
              else if (buttonnum == 1)

 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9286#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list