summaryrefslogtreecommitdiffstats
path: root/src/entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry.cpp')
-rw-r--r--src/entry.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/entry.cpp b/src/entry.cpp
index cbd519e..be5f9e4 100644
--- a/src/entry.cpp
+++ b/src/entry.cpp
@@ -360,6 +360,12 @@ void Entry::addSpecialListItem(const char *listName,int itemId)
sli->append(ili);
}
+Entry *Entry::removeSubEntry(Entry *e)
+{
+ int i = m_sublist->find(e);
+ return i!=-1 ? m_sublist->take(i) : 0;
+}
+
//------------------------------------------------------------------