https://bugs.kde.org/show_bug.cgi?id=358239

--- Comment #1 from Leslie Zhai <xiangzha...@gmail.com> ---
when wallpaperPath is Empty or !exists, just fallback use isoft-artwork's, it
is yet a workaround patch:

diff --git a/wallpapers/image/image.cpp b/wallpapers/image/image.cpp
index e18df00..8238c8c 100644
--- a/wallpapers/image/image.cpp
+++ b/wallpapers/image/image.cpp
@@ -108,7 +108,7 @@ QString Image::photosPath() const

 QString Image::wallpaperPath() const
 {
-    return m_wallpaperPath;
+    return QFile::exists(m_wallpaperPath) ? m_wallpaperPath :
"/usr/share/isoft-artwork/background.png";
 }

 void Image::addUrl(const QString &url)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to