From f9ac3edde50004939c692871249e1ca59c7a66fa Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 9 Jun 2008 04:09:11 +0000 Subject: [PATCH] get the geometry right svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818650 --- containment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containment.cpp b/containment.cpp index 6dae2f6cd..21e5ed97e 100644 --- a/containment.cpp +++ b/containment.cpp @@ -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;