[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-workspace] wallpapers/image/imagepackage/contents/ui: take the proper default at first start
From: Marco Martin <notmart () gmail ! com>
Date: 2014-09-26 13:50:53
Message-ID: E1XXVvB-0002Bc-Fm () scm ! kde ! org
[Download RAW message or body]
Git commit 3b2d770df42def293dbf4fed6bc2a1431b78490d by Marco Martin.
Committed on 26/09/2014 at 13:43.
Pushed by mart into branch 'master'.
take the proper default at first start
wallpaper.configuration.Image is empty at first start, but the
image wallpaper object has the proper default
BUG:339414
M +3 -0 wallpapers/image/imagepackage/contents/ui/main.qml
http://commits.kde.org/plasma-workspace/3b2d770df42def293dbf4fed6bc2a1431b78490d
diff --git a/wallpapers/image/imagepackage/contents/ui/main.qml \
b/wallpapers/image/imagepackage/contents/ui/main.qml index 3ec8391..d81bd29 100644
--- a/wallpapers/image/imagepackage/contents/ui/main.qml
+++ b/wallpapers/image/imagepackage/contents/ui/main.qml
@@ -86,6 +86,9 @@ Rectangle {
}
Component.onCompleted: {
+ if (!configuredImage && imageWallpaper.wallpaperPath) {
+ return;
+ }
imageWallpaper.addUrl(configuredImage)
if (wallpaper.pluginName == "org.kde.slideshow") {
wallpaper.setAction("next", i18nd("plasma_applet_org.kde.image","Next \
Wallpaper Image"),"user-desktop");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic