Ticket #9038: 9038_fixes.diff
File 9038_fixes.diff, 2.1 KB (added by , 14 years ago) |
---|
-
programs/mythfrontend/guidegrid.cpp
166 166 void GuideGrid::RunProgramGuide(uint chanid, const QString &channum, 167 167 TV *player, bool embedVideo, bool allowFinder, int changrpid) 168 168 { 169 // which channel group should we default to 170 if (changrpid == -2) 171 changrpid = gContext->GetNumSetting("ChannelGroupDefault", -1); 172 169 173 // check there are some channels setup 170 174 DBChanList channels = ChannelUtil::GetChannels(0, true, "", changrpid); 171 175 if (!channels.size()) … … 404 408 // tell the player to update its channel list just in case 405 409 if (m_player) 406 410 m_player->UpdateChannelList(m_changrpid); 411 412 if (gContext->GetNumSetting("ChannelGroupRememberLast", 0)) 413 gContext->SaveSetting("ChannelGroupDefault", m_changrpid); 407 414 } 408 415 409 416 bool GuideGrid::keyPressEvent(QKeyEvent *event) -
programs/mythfrontend/main.cpp
224 224 uint chanid = 0; 225 225 QString channum = gContext->GetSetting("DefaultTVChannel"); 226 226 channum = (channum.isEmpty()) ? "3" : channum; 227 GuideGrid::RunProgramGuide(chanid, channum );227 GuideGrid::RunProgramGuide(chanid, channum, NULL, false, true, -2); 228 228 } 229 229 230 230 void startFinder(void) -
programs/mythfrontend/progfind.cpp
403 403 if (startchannel.isEmpty()) 404 404 startchannel = '3'; 405 405 uint startchanid = 0; 406 GuideGrid::RunProgramGuide(startchanid, startchannel, m_player, m_embedVideo, false );406 GuideGrid::RunProgramGuide(startchanid, startchannel, m_player, m_embedVideo, false, -2); 407 407 } 408 408 } 409 409