diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-22 18:06:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-22 18:06:24 +0300 |
commit | ec242a61eac50c8fb41bd21b08827c79240f9ea4 (patch) | |
tree | 6c100bff924fffca2022b622faf017455f5c3841 /src/gui/widgets/widget.cpp | |
parent | f4d4fb031a17c502a28d60a241c4fa6e838519f2 (diff) | |
download | mv-ec242a61eac50c8fb41bd21b08827c79240f9ea4.tar.gz mv-ec242a61eac50c8fb41bd21b08827c79240f9ea4.tar.bz2 mv-ec242a61eac50c8fb41bd21b08827c79240f9ea4.tar.xz mv-ec242a61eac50c8fb41bd21b08827c79240f9ea4.zip |
Add missing const in widget.
Diffstat (limited to 'src/gui/widgets/widget.cpp')
-rw-r--r-- | src/gui/widgets/widget.cpp | 6 |
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; } |