~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to programs/mythfrontend/proglist.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2009-10-02 00:23:18 UTC
  • mfrom: (1.1.36 upstream)
  • Revision ID: james.westby@ubuntu.com-20091002002318-5qu2fr0gxl59egft
Tags: 0.22.0~trunk22167-0ubuntu1
* New upstream checkout (r22167).
  - Fixes some segfaults.

Show diffs side-by-side

added added

removed removed

Lines of Context:
797
797
    if (!pi || m_type == plTitle)
798
798
        return;
799
799
 
800
 
    MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
801
 
    ProgLister *pl = new ProgLister(mainStack, plTitle, pi->title, "");
802
 
    if (pl->Create())
803
 
        mainStack->AddScreen(pl);
804
 
    else
805
 
        delete pl;
 
800
    ShowUpcoming(pi);
806
801
}
807
802
 
808
803
void ProgLister::details()
809
804
{
810
805
    ProgramInfo *pi = m_itemList.at(m_progList->GetCurrentPos());
811
806
 
812
 
    if (pi)
813
 
        ShowDetails(pi);
 
807
    ShowDetails(pi);
814
808
}
815
809
 
816
810
void ProgLister::fillViewList(const QString &view)