Ticket #4960: startinwatchlist.diff
| File startinwatchlist.diff, 1.5 KB (added by , 17 years ago) |
|---|
-
mythtv/programs/mythfrontend/playbackbox.cpp
299 299 // Split out sort order modes, wacky order for backward compatibility 300 300 m_listOrder = (pbOrder >> 1) ^ (m_allOrder = pbOrder & 1); 301 301 m_watchListStart = gContext->GetNumSetting("PlaybackWLStart", 0); 302 302 303 m_watchListAutoExpire= gContext->GetNumSetting("PlaybackWLAutoExpire", 0); 303 304 m_watchListMaxAge = gContext->GetNumSetting("PlaybackWLMaxAge", 60); 304 305 m_watchListBlackOut = gContext->GetNumSetting("PlaybackWLBlackOut", 2); … … 314 315 "DisplayGroupDefaultViewMask", 315 316 VIEW_TITLES | VIEW_WATCHED); 316 317 318 // If user wants to start in watchlist and watchlist is display, then 319 // make it the current group 320 if (m_watchListStart && (m_viewMask & VIEW_WATCHLIST)) 321 m_currentGroup = m_watchGroupLabel; 322 317 323 // Translate these external settings into mask values 318 324 if (gContext->GetNumSetting("PlaybackWatchList", 1) && 319 325 !(m_viewMask & VIEW_WATCHLIST)) … … 1078 1084 } 1079 1085 } 1080 1086 1081 if (!(m_viewMask & VIEW_WATCHLIST))1082 m_watchListStart = 0;1083 1084 1087 vector<ProgramInfo *>::iterator i = m_progCache->begin(); 1085 1088 for ( ; i != m_progCache->end(); i++) 1086 1089 {
