diff options
-rw-r--r-- | xbmc/pvr/windows/GUIWindowPVRGuide.cpp | 10 | ||||
-rw-r--r-- | xbmc/pvr/windows/GUIWindowPVRGuide.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/xbmc/pvr/windows/GUIWindowPVRGuide.cpp b/xbmc/pvr/windows/GUIWindowPVRGuide.cpp index f022c7fc6b..797eb5fbd5 100644 --- a/xbmc/pvr/windows/GUIWindowPVRGuide.cpp +++ b/xbmc/pvr/windows/GUIWindowPVRGuide.cpp @@ -239,6 +239,16 @@ bool CGUIWindowPVRGuideBase::GetDirectory(const std::string &strDirectory, CFile return true; } +void CGUIWindowPVRGuideBase::FormatAndSort(CFileItemList &items) +{ + if (&items == m_vecItems) + { + // Speedup: Nothing to do here as sorting was already done in CGUIWindowPVRGuideBase::RefreshTimelineItems + return; + } + CGUIWindowPVRBase::FormatAndSort(items); +} + bool CGUIWindowPVRGuideBase::ShouldNavigateToGridContainer(int iAction) { CGUIEPGGridContainer *epgGridContainer = GetGridControl(); diff --git a/xbmc/pvr/windows/GUIWindowPVRGuide.h b/xbmc/pvr/windows/GUIWindowPVRGuide.h index 8f86c624bf..30583f30cb 100644 --- a/xbmc/pvr/windows/GUIWindowPVRGuide.h +++ b/xbmc/pvr/windows/GUIWindowPVRGuide.h @@ -49,6 +49,7 @@ namespace PVR void UpdateSelectedItemPath() override; std::string GetDirectoryPath(void) override { return ""; } bool GetDirectory(const std::string &strDirectory, CFileItemList &items) override; + void FormatAndSort(CFileItemList &items) override; void ClearData() override; |