Page MenuHomePhabricator

wrong type of parameter for the method ListenerRegistered() in mitkGlobalInteraction class
Closed, ResolvedPublic

Description

The method ListenerRegistered (Interactor *interactor) of the class mitkGlobalInteraction takes the same argumenttype as the InteractorRegistered (Interactor *interactor), although the add and remove method AddListener (StateMachine *listener) and RemoveListener (StateMachine *listener) use a different type. This causes a problem since a StateMachine can be a listener as well, but cannot be checked by the method ListenerRegistered().

Simple solution: changing the type of the parameter

Event Timeline

[SVN revision 27681]
FIX (#6091): changing interface from ListenerRegistered from parameter type Interactor to StateMachine