use setUrls rather than emit the signal

svn path=/trunk/KDE/kdelibs/; revision=1217119
This commit is contained in:
Aaron J. Seigo 2011-01-25 20:52:33 +00:00
parent abae2d7686
commit f338cf6a16

View File

@ -1585,7 +1585,7 @@ void ContainmentPrivate::mimeTypeRetrieved(KIO::Job *job, const QString &mimetyp
if (wallpaper) {
kDebug() << "Wallpaper dropped:" << tjob->url();
emit wallpaper->urlDropped(tjob->url());
wallpaper->setUrls(KUrl::List() << tjob->url());
}
} else {
addApplet(actionsToApplets[choice], args, QRectF(posi, QSize()));