[aurorae] Fix visibility of Context Help button

Summary:
providesContextHelp is a property of DecoratedClient, not Decoration.

BUG: 413145
FIXED-IN: 5.17.1

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D24851
This commit is contained in:
Vlad Zahorodnii 2019-10-22 11:15:51 +03:00
parent 6789573d88
commit 982fefd389

View file

@ -206,7 +206,7 @@ DecorationButton {
}
}
Component.onCompleted: {
if (buttonType == DecorationOptions.DecorationButtonQuickHelp && !decoration.providesContextHelp) {
if (buttonType == DecorationOptions.DecorationButtonQuickHelp && !decoration.client.providesContextHelp) {
visible = false;
} else {
visible = buttonSvg.imagePath != "";