Also relase the window in the destructor
Summary:
Otherwise the keyboard is never released when the item is destroyed while
capturing is active
Reviewers: broulik, Frameworks, davidedmundson
Reviewed By: davidedmundson
Subscribers: kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D28697