slight simplification :)

svn path=/trunk/KDE/kdelibs/; revision=1217341
This commit is contained in:
Aaron J. Seigo 2011-01-26 20:10:14 +00:00
parent 1cbd777478
commit 8c65e607b8

View File

@ -1523,7 +1523,7 @@ void ContainmentPrivate::mimeTypeRetrieved(KIO::Job *job, const QString &mimetyp
appletList << Applet::listAppletInfoForMimetype(mimetype);
KPluginInfo::List wallpaperList;
if (q->drawWallpaper()) {
if (drawWallpaper) {
if (wallpaper && wallpaper->supportsMimetype(mimetype)) {
wallpaperList << wallpaper->d->wallpaperDescription;
} else {