get the geometry right

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818650
This commit is contained in:
Aaron J. Seigo 2008-06-09 04:09:11 +00:00
parent c9fcf43c43
commit f9ac3edde5

View File

@ -710,7 +710,7 @@ void Containment::dropEvent(QGraphicsSceneDragDropEvent *event)
foreach (const KUrl& url, urls) {
KMimeType::Ptr mime = KMimeType::findByUrl(url);
QString mimeName = mime->name();
QRectF geom(event->scenePos(), QSize(0, 0));
QRectF geom(event->pos(), QSize());
QVariantList args;
args << url.url();
// kDebug() << mimeName;