Use enum value for KAuthorized::authorize
Task: https://phabricator.kde.org/T11948
This commit is contained in:
parent
6d5fc9fd30
commit
8adfd2f244
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ ScrollViewKCM {
|
|||
|
||||
NewStuff.Button {
|
||||
text: i18n("Get New Desktop Effects...")
|
||||
visible: KAuthorized.authorize("ghns")
|
||||
visible: KAuthorized.authorize(KAuthorized.GHNS)
|
||||
configFile: "kwineffect.knsrc"
|
||||
onEntryEvent: function (entry, event) {
|
||||
if (event == 1) { // StatusChangedEvent
|
||||
|
|
Loading…
Reference in a new issue