Skip to content

Commit

Permalink
Fixed bad arguments (Coverity 1023894).
Browse files Browse the repository at this point in the history
  • Loading branch information
gigem committed Jun 10, 2013
1 parent 14f0f9d commit d53cc11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions mythtv/programs/mythfrontend/proglist.cpp
Expand Up @@ -797,8 +797,7 @@ void ProgLister::ShowGuide(void)
if (pi)
{
GuideGrid::RunProgramGuide(pi->GetChanID(), pi->GetChanNum(),
pi->GetScheduledStartTime(),
NULL, this, -2);
pi->GetScheduledStartTime());
}
}

Expand Down
3 changes: 1 addition & 2 deletions mythtv/programs/mythfrontend/viewscheduled.cpp
Expand Up @@ -596,8 +596,7 @@ void ViewScheduled::showGuide()
QString startchannel = pginfo->GetChanNum();
uint startchanid = pginfo->GetChanID();
QDateTime starttime = pginfo->GetScheduledStartTime();
GuideGrid::RunProgramGuide(startchanid, startchannel, starttime,
m_player, this, -2);
GuideGrid::RunProgramGuide(startchanid, startchannel, starttime);
}

void ViewScheduled::upcoming()
Expand Down

0 comments on commit d53cc11

Please sign in to comment.