diff --git a/plasma/wallpaper.cpp b/plasma/wallpaper.cpp index 92218ef8..34e043ea 100644 --- a/plasma/wallpaper.cpp +++ b/plasma/wallpaper.cpp @@ -560,8 +560,7 @@ bool WallpaperPrivate::findInCache(const QString &key, unsigned int lastModified } } - QImage image; - image.load(cache, imageFormat); + QImage image(cache, imageFormat); emit q->renderCompleted(image); return true;