From 49f881f5ec01014e7b6b0c7fa14abd7e99f605fc Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 11 Mar 2007 11:13:07 +0000 Subject: Fixed some drag & drop issues: - allow drag & drop inside the view - prevent a dragging from a directory into itself - use QModelIndex instead of the position svn path=/trunk/KDE/kdebase/apps/; revision=641451 --- src/dolphinview.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 5cfd7904d..8ca4a1ac3 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -449,12 +449,12 @@ private slots: void openContextMenu(const QPoint& pos); /** - * Drops the URLs \a urls at the position \a pos. - * The position is used to check whether the dropping - * is done above an item or above the viewport. + * Drops the URLs \a urls to the index \a index. \a source + * indicates the widget where the dragging has been started from. */ void dropUrls(const KUrl::List& urls, - const QPoint& pos); + const QModelIndex& index, + QWidget* source); /** * Drops the URLs \a urls at the -- cgit v1.3