Commit 7c0389b2 authored by Oleg Solovyov's avatar Oleg Solovyov 🐴 Committed by Albert Astals Cid
Browse files

Hide GHNS button when ghns is disabled

parent d97898f1
Pipeline #103501 failed with stage
in 1 minute and 32 seconds
......@@ -25,7 +25,7 @@ include(GenerateExportHeader)
include(ECMAddAppIcon)
include(ECMSetupVersion)
find_package(KF5 5.17.0 REQUIRED COMPONENTS
find_package(KF5 5.81.0 REQUIRED COMPONENTS
I18n
Crash
Completion
......
......@@ -27,6 +27,8 @@ import QtMultimedia 5.0
import QtQml 2.2
import QtGraphicalEffects 1.0
import org.kde.newstuff 1.81 as NewStuff
Item {
id: gamePage
......@@ -326,6 +328,7 @@ Item {
Layout.fillWidth: true
iconSource: "Images/get-hot-new-stuff.png"
tooltip: i18n("Download new language files")
visible: NewStuff.Settings.allowedByKiosk
onClicked: {
khangman.slotDownloadNewStuff()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment