summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widget.cpp')
-rw-r--r--src/gui/widgets/widget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp
index 023f4a035..414fb7a5a 100644
--- a/src/gui/widgets/widget.cpp
+++ b/src/gui/widgets/widget.cpp
@@ -428,17 +428,17 @@ bool Widget::isModalMouseInputFocused() const
return mFocusHandler->getModalMouseInputFocused() == this;
}
-const std::list<MouseListener*>& Widget::getMouseListeners()
+const std::list<MouseListener*> &Widget::getMouseListeners() const
{
return mMouseListeners;
}
-const std::list<KeyListener*>& Widget::getKeyListeners()
+const std::list<KeyListener*> &Widget::getKeyListeners() const
{
return mKeyListeners;
}
-const std::list<FocusListener*>& Widget::getFocusListeners()
+const std::list<FocusListener*> &Widget::getFocusListeners() const
{
return mFocusListeners;
}