diff --git a/wallpapers/image/imagepackage/contents/ui/config.qml b/wallpapers/image/imagepackage/contents/ui/config.qml --- a/wallpapers/image/imagepackage/contents/ui/config.qml +++ b/wallpapers/image/imagepackage/contents/ui/config.qml @@ -431,13 +431,22 @@ RowLayout { id: buttonsRow - Layout.alignment: Qt.AlignRight | Qt.AlignVCenter visible: configDialog.currentWallpaper == "org.kde.image" + QtControls2.Button { icon.name: "list-add" text: i18nd("plasma_wallpaper_org.kde.image","Add Image...") onClicked: imageWallpaper.showFileDialog(); } + Item { + Layout.fillWidth: true + } + QtControls2.Button { + text: i18nd("plasma_wallpaper_org.kde.image", "Change Lock and Login Screen Backgrounds") + visible: KCMShell.authorize("screenlocker.desktop").length > 0 && KCMShell.authorize("kcm_sddm.desktop").length > 0 + icon.name: "preferences-desktop-wallpaper" + onClicked: KCMShell.open(["screenlocker", "kcm_sddm"]) + } NewStuff.Button { Layout.alignment: Qt.AlignRight configFile: "wallpaper.knsrc"