Also relase the window in the destructor

Authored by davidre on Apr 9 2020, 8:39 AM.

Description

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

Details