diff options
| author | Emmanuel Pescosta <[email protected]> | 2013-01-09 15:16:30 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2013-01-09 15:16:30 +0100 |
| commit | 804d8119b3e9afeb900d54814d665f820cb79adb (patch) | |
| tree | 44881bd18152cd93cd528aabf22449fdacb9f67b /src/dolphinmainwindow.cpp | |
| parent | 9f9cd60d1ca0c3a41a0d7ebaeb453917cddcf13e (diff) | |
Fix Bug 233335 - Wrong icons selected after pasting files and renaming them (because there exists items with it's names
Fixed the "same" buggy behavior when dropping files/folders
Select also putted files (PUT operation - SimpleJob) - e.g. Paste content from clipboard
BUG: 233335
REVIEW: 107351
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 11e03d0f1..d72fb2305 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1276,7 +1276,8 @@ void DolphinMainWindow::tabDropEvent(int tab, QDropEvent* event) const ViewTab& viewTab = m_viewTab[tab]; const DolphinView* view = viewTab.isPrimaryViewActive ? viewTab.primaryView->view() : viewTab.secondaryView->view(); - const QString error = DragAndDropHelper::dropUrls(view->rootItem(), view->url(), event); + QString error; + DragAndDropHelper::dropUrls(view->rootItem(), view->url(), event, error); if (!error.isEmpty()) { activeViewContainer()->showMessage(error, DolphinViewContainer::Error); } |
