summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-22 18:06:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-22 18:06:24 +0300
commitec242a61eac50c8fb41bd21b08827c79240f9ea4 (patch)
tree6c100bff924fffca2022b622faf017455f5c3841 /src/gui/widgets/widget.cpp
parentf4d4fb031a17c502a28d60a241c4fa6e838519f2 (diff)
downloadmanaplus-ec242a61eac50c8fb41bd21b08827c79240f9ea4.tar.gz
manaplus-ec242a61eac50c8fb41bd21b08827c79240f9ea4.tar.bz2
manaplus-ec242a61eac50c8fb41bd21b08827c79240f9ea4.tar.xz
manaplus-ec242a61eac50c8fb41bd21b08827c79240f9ea4.zip
Add missing const in widget.
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;
}