]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix the "dropped files are not selected" regression that has
authorEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Wed, 26 Jun 2013 20:00:09 +0000 (22:00 +0200)
committerEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Wed, 26 Jun 2013 20:00:09 +0000 (22:00 +0200)
recently been brought up and that have been caused by review 107351 / commit
fd65a97b0787b23246c9392fdc34173fb604c9ca

CCBUG: 233335
FIXED-IN: 4.11.0
REVIEW: 111254

src/views/dolphinview.cpp

index fa43656c1483a1d2553a4fbc8a36a7c414bab2c1..d54a101d841a7f30bfb724e925aa79189612b47c 100644 (file)
@@ -1054,7 +1054,7 @@ void DolphinView::slotItemDropEvent(int index, QGraphicsSceneDragDropEvent* even
     if (op && destUrl == url()) {
         // Mark the dropped urls as selected.
         m_clearSelectionBeforeSelectingNewItems = true;
-        connect(op, SIGNAL(urlPasted(KUrl)), this, SLOT(slotUrlPasted(KUrl)));
+        connect(op, SIGNAL(aboutToCreate(KUrl::List)), this, SLOT(slotAboutToCreate(KUrl::List)));
     }
 
     setActive(true);