[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
icc-effect-5.17.5
Vlad Zahorodnii 2019-10-22 11:15:51 +03:00
parent 6789573d88
commit 982fefd389
1 changed files with 1 additions and 1 deletions

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 != "";