summaryrefslogtreecommitdiff
path: root/LibCore
diff options
context:
space:
mode:
Diffstat (limited to 'LibCore')
-rw-r--r--LibCore/CObject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/LibCore/CObject.h b/LibCore/CObject.h
index c94ed2f167..f8ae55a7b2 100644
--- a/LibCore/CObject.h
+++ b/LibCore/CObject.h
@@ -18,6 +18,7 @@ public:
virtual void event(CEvent&);
Vector<CObject*>& children() { return m_children; }
+ const Vector<CObject*>& children() const { return m_children; }
CObject* parent() { return m_parent; }
const CObject* parent() const { return m_parent; }