aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2015-11-06 19:45:54 +0100
committerKai Sommerfeld <kai.sommerfeld@gmx.com>2015-11-06 19:45:54 +0100
commit0f5a048909416605f45d06d8742f73e326f403ae (patch)
treef58d557bdb2af54a4a56eeff580a9d84b26e7ae7
parent5ee6d78b47bdd9e929b77d3908975a371fcba1be (diff)
[PVR] Fix: Remove context menu item 'Add to favourites' for children of repeating timers
-rw-r--r--xbmc/pvr/timers/PVRTimers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/pvr/timers/PVRTimers.cpp b/xbmc/pvr/timers/PVRTimers.cpp
index a2714d3f32..96be273987 100644
--- a/xbmc/pvr/timers/PVRTimers.cpp
+++ b/xbmc/pvr/timers/PVRTimers.cpp
@@ -446,6 +446,9 @@ bool CPVRTimers::GetSubDirectory(const CPVRTimersPath &path, CFileItemList &item
(timer->m_iParentClientIndex == iParentId))
{
item.reset(new CFileItem(timer));
+ std::string strItemPath(
+ CPVRTimersPath(path.GetPath(), timer->m_iClientId, timer->m_iClientIndex).GetPath());
+ item->SetPath(strItemPath);
items.Add(item);
}
}