Browse files

GUIWindowPVRGuide - replace clear+copy with assign

  • Loading branch information...
1 parent 1c5ca99 commit 4fbb2549d66acd255f93e4ac63ec65392df8cb95 @mikrohard committed Aug 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 xbmc/pvr/windows/GUIWindowPVRGuide.cpp
View
3 xbmc/pvr/windows/GUIWindowPVRGuide.cpp
@@ -238,8 +238,7 @@ void CGUIWindowPVRGuide::UpdateViewTimeline(bool bUpdateSelectedFile)
}
m_parent->m_vecItems->RemoveDiscCache(m_parent->GetID());
- m_parent->m_vecItems->Clear();
- m_parent->m_vecItems->Copy(*m_cachedTimeline);
+ m_parent->m_vecItems->Assign(*m_cachedTimeline, false);
CDateTime gridStart = CDateTime::GetCurrentDateTime().GetAsUTCDateTime();
CDateTime firstDate(g_EpgContainer.GetFirstEPGDate());

0 comments on commit 4fbb254

Please sign in to comment.