Hi,

I've just found a crash when trying to change the positioning mode on
a slideshow wallpaper.
>From the attached backtrace it looked easy to fix, so I gave it a go
and everything seems to be working properly now.

Could someone please look this over quickly (it's only a couple of
lines) and commit it for me? (I don't have an svn account.)

Thanks,
Anthony Bryant.

Attachment: slideshow-config.kcrash
Description: Binary data

Index: wallpapers/image/image.cpp
===================================================================
--- wallpapers/image/image.cpp	(revision 933847)
+++ wallpapers/image/image.cpp	(working copy)
@@ -381,7 +381,9 @@
         startSlideshow();
     }
 
-    m_model->setResizeMethod(m_resizeMethod);
+    if (m_model) {
+        m_model->setResizeMethod(m_resizeMethod);
+    }
 }
 
 void Image::fillMetaInfo(Background *b)
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to