Fix launch kscreen kcm in font kcm.

.desktop won't work and will give an error in kcmshell


(cherry picked from commit aa295bd338)
wilder-5.24
Weng Xuetian 4 years ago committed by Fushan Wen
parent 5cea29ed6a
commit bd99299a1a
  1. 2
      kcms/fonts/package/contents/ui/main.qml

@ -25,7 +25,7 @@ KCM.SimpleKCM {
visible: KCMShell.authorize("kcm_kscreen.desktop").length > 0
text: i18n("Change Display Scaling…")
iconName: "preferences-desktop-display"
onTriggered: KCMShell.open("kcm_kscreen.desktop")
onTriggered: KCMShell.open("kcm_kscreen")
}
ColumnLayout {

Loading…
Cancel
Save