summaryrefslogtreecommitdiff
path: root/recman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'recman.cpp')
-rw-r--r--recman.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recman.cpp b/recman.cpp
index 71730d0..7bd7912 100644
--- a/recman.cpp
+++ b/recman.cpp
@@ -376,6 +376,7 @@ namespace vdrlive {
* Implementation of class RecordingsItem:
*/
RecordingsItem::RecordingsItem(string const & name, RecordingsItemPtr parent) :
+ m_level((parent != NULL) ? parent->Level() + 1 : 0),
m_name(name),
m_entries(),
m_parent(parent)