diff options
| author | Elvis Angelaccio <[email protected]> | 2020-05-19 00:22:26 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-05-19 00:30:47 +0200 |
| commit | a3052c3942fc8c1354a9d26878f517e677eccb17 (patch) | |
| tree | 8d9568bce999b78ca651057120479743f51523b0 /src/dolphintabwidget.cpp | |
| parent | 1ee665bac8bd7f79d242213ebfd7d2095d392523 (diff) | |
DolphinView: rename new methods to copy/move urls
DolphinView doesn't know anything about split views and it shouldn't.
Rename these new methods to what they actually do (just copy or move to a
given QUrl).
Diffstat (limited to 'src/dolphintabwidget.cpp')
| -rw-r--r-- | src/dolphintabwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index 9fd600567..7a431152e 100644 --- a/src/dolphintabwidget.cpp +++ b/src/dolphintabwidget.cpp @@ -330,10 +330,10 @@ void DolphinTabWidget::copyToInactiveSplitView() if (tabPage->primaryViewActive()) { // copy from left panel to right - activeViewContainer->view()->copySelectedItemsToInactiveSplitView(activeViewContainer->view()->selectedItems(), tabPage->secondaryViewContainer()->url()); + activeViewContainer->view()->copySelectedItems(activeViewContainer->view()->selectedItems(), tabPage->secondaryViewContainer()->url()); } else { // copy from right panel to left - activeViewContainer->view()->copySelectedItemsToInactiveSplitView(activeViewContainer->view()->selectedItems(), tabPage->primaryViewContainer()->url()); + activeViewContainer->view()->copySelectedItems(activeViewContainer->view()->selectedItems(), tabPage->primaryViewContainer()->url()); } } @@ -347,10 +347,10 @@ void DolphinTabWidget::moveToInactiveSplitView() if (tabPage->primaryViewActive()) { // move from left panel to right - activeViewContainer->view()->moveSelectedItemsToInactiveSplitView(activeViewContainer->view()->selectedItems(), tabPage->secondaryViewContainer()->url()); + activeViewContainer->view()->moveSelectedItems(activeViewContainer->view()->selectedItems(), tabPage->secondaryViewContainer()->url()); } else { // move from right panel to left - activeViewContainer->view()->moveSelectedItemsToInactiveSplitView(activeViewContainer->view()->selectedItems(), tabPage->primaryViewContainer()->url()); + activeViewContainer->view()->moveSelectedItems(activeViewContainer->view()->selectedItems(), tabPage->primaryViewContainer()->url()); } } |
