Diffusion KWin a8db96750595

Use removeOne when uninstalling an InputEventFilter

Authored by graesslin on Jan 2 2017, 6:55 PM.

Description

Use removeOne when uninstalling an InputEventFilter

Summary:
Adjusting to a difference from introducing the InputEventSpy. A filter
may only be installed once. Thus removeOne is totally sufficient.

Added a Q_ASSERT to ensure that it is not installed when installing.

Reviewers: KWin, Plasma, mart

Reviewed By: mart

Subscribers: mart, plasma-devel, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D3878

Details

Committed
graesslinJan 2 2017, 6:55 PM
Reviewer
mart
Differential Revision
D3878: Use removeOne when uninstalling an InputEventFilter
Parents
R108:9cc7d12158fa: Replaced InputEventFilter by InputEventSpy in DebugConsole
Branches
Unknown
Tags
Unknown