[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/libkonq
From:       David Faure <faure () kde ! org>
Date:       2005-11-30 20:55:44
Message-ID: 1133384144.599986.22425.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 484451 by dfaure:

Make dropping onto system:/home faster; noticed by pmax.


 M  +6 -1      konq_iconviewwidget.cc  


--- branches/KDE/3.5/kdebase/libkonq/konq_iconviewwidget.cc #484450:484451
@@ -891,7 +891,12 @@
 void KonqIconViewWidget::slotDropped( QDropEvent *ev, const QValueList<QIconDragItem> & )
 {
     // Drop on background
-    KonqOperations::doDrop( m_rootItem /* may be 0L */, url(), ev, this );
+    KURL dirURL = url();
+    if ( m_rootItem ) {
+        bool dummy;
+        dirURL = m_rootItem->mostLocalURL(dummy);
+    }
+    KonqOperations::doDrop( m_rootItem /* may be 0L */, dirURL, ev, this );
 }
 
 void KonqIconViewWidget::slotAboutToCreate(const QPoint &, const QValueList<KIO::CopyInfo> &)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic