Foundation classes for a basic GUI implementing simple widgets and events. (Fork for custom changes.)
Fork of SimpleGUI by
Diff: Events/EventDispatcher.cpp
- Revision:
- 15:e69fd74d42e4
- Parent:
- 12:63db16fea709
- Child:
- 18:d849f3ada858
--- a/Events/EventDispatcher.cpp Sat May 21 16:36:02 2016 +0000 +++ b/Events/EventDispatcher.cpp Sat May 21 18:02:20 2016 +0000 @@ -4,7 +4,7 @@ } void EventDispatcher::attachListener(EventListener* l) { - _listeners.append(l); + _listeners.appendOnce(l); } void EventDispatcher::detachListener(EventListener* l) {