[App Style KCM] Hide preview buttons, if previewers are not found
Summary:
BUG: 416343
FIXED-IN: 5.18.0
Test Plan:
- Open GTK page of Application Style KCM, the preview buttons should be present
- Delete usr/lib/libexec/gtk_preview file or rename it to something else
- Reopen GTK page of KCM - the GTK2 preview button should disappear
- Delete usr/lib/libexec/gtk3_preview file or rename it to something else
- Reopen GTK page of KCM - the GTK3 preview button should disappear too
- Bring back the deleted/renamed files
- Reopen KCM, the buttons should be present
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D26770