summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 00:12:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 00:12:40 +0300
commit9093f12ebbfbdacb3df7a5f5fcdda422daa22754 (patch)
treeca12da26dad550f515ca1e56e1288a92741e6c7f /src/gui/gui.cpp
parent768523601ff80a23bf3e821484cc116c62498a38 (diff)
downloadmv-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.gz
mv-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.bz2
mv-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.xz
mv-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.zip
move mouselistener from base into listeners.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index a398ca427..bced937c7 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -697,11 +697,11 @@ void Gui::distributeMouseEvent(gcn::Widget* source, int type, int button,
mouseEvent.setX(x - widgetX);
mouseEvent.setY(y - widgetY);
- std::list<gcn::MouseListener*> mouseListeners
+ std::list<MouseListener*> mouseListeners
= widget->_getMouseListeners();
// Send the event to all mouse listeners of the widget.
- for (std::list<gcn::MouseListener*>::const_iterator
+ for (std::list<MouseListener*>::const_iterator
it = mouseListeners.begin();
it != mouseListeners.end(); ++ it)
{