From 2e9d3152df6a40b670f6c5eb0efd8dd1bac2ddb3 Mon Sep 17 00:00:00 2001 From: Dan Leinir Turthra Jensen Date: Wed, 10 Feb 2021 09:46:40 +0000 Subject: [PATCH] Also add the mobile wallpaper option to the other kns button Turns out there are two KNewStuff buttons here, so we'll want to make sure to do this for both of them. --- wallpapers/image/imagepackage/contents/ui/config.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallpapers/image/imagepackage/contents/ui/config.qml b/wallpapers/image/imagepackage/contents/ui/config.qml index 9400bdea6..42e6ae792 100644 --- a/wallpapers/image/imagepackage/contents/ui/config.qml +++ b/wallpapers/image/imagepackage/contents/ui/config.qml @@ -468,7 +468,7 @@ ColumnLayout { } NewStuff.Button { Layout.alignment: Qt.AlignRight - configFile: "wallpaper.knsrc" + configFile: Kirigami.Settings.isMobile ? "wallpaper-mobile.knsrc" : "wallpaper.knsrc" text: i18nd("plasma_wallpaper_org.kde.image", "Get New Wallpapers...") viewMode: NewStuff.Page.ViewMode.Preview onChangedEntriesChanged: imageWallpaper.newStuffFinished();