[LNF KCM] make it possible to close the preview

Authored by ngraham on Jul 18 2019, 8:44 PM.

Description

[LNF KCM] make it possible to close the preview

Summary:
The preview window doesn't respond to setting its visibility to false, so currently
it can't actually be closed without using the task manager or another external way
of closing windows.

Fix the issue by triggering the window's close() function instead.

Test Plan: Preview a theme and click on the close button, or anywhere else, or hit the Esc key

Reviewers: Plasma, apol, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: ognarb, broulik, plasma-devel

Tags: Plasma

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

Details

Committed
ngrahamJul 19 2019, 2:14 PM
Reviewer
Plasma
Differential Revision
D22543: [LNF KCM] make it possible to close the preview
Parents
R119:e3e614b1ca25: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown