From 982fefd38974667d818b0b91698db7defe62483a Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 22 Oct 2019 11:15:51 +0300 Subject: [PATCH] [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 --- plugins/kdecorations/aurorae/src/qml/AuroraeButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kdecorations/aurorae/src/qml/AuroraeButton.qml b/plugins/kdecorations/aurorae/src/qml/AuroraeButton.qml index 5d2968bafd..38b9ad584b 100644 --- a/plugins/kdecorations/aurorae/src/qml/AuroraeButton.qml +++ b/plugins/kdecorations/aurorae/src/qml/AuroraeButton.qml @@ -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 != "";