┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorAntonio Prcela <[email protected]>2020-05-04 07:51:34 -0600
committerNate Graham <[email protected]>2020-05-04 08:00:07 -0600
commitddcca5fb912cd91c7c6c535e01fb963869ccaee9 (patch)
treefeabc7e242ec2da741aa004c0b06572b9ddb5fb6 /src/views
parente6ea3ab4c41dcc115143a237aafd3a1152849433 (diff)
Replace the list with the simplified list, instead of concatenate.
Summary: Replace the list m_selectedUrls with a simplified list, instead of concatenating the simplified list to the current one. Reviewers: dfaure, meven Reviewed By: dfaure Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D29399
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphinview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index a0dd0327b..f0dc17837 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -1200,7 +1200,7 @@ void DolphinView::slotPasteJobResult(KJob *job)
emit errorMessage(job->errorString());
}
if (!m_selectedUrls.isEmpty()) {
- m_selectedUrls << KDirModel::simplifiedUrlList(m_selectedUrls);
+ m_selectedUrls = KDirModel::simplifiedUrlList(m_selectedUrls);
}
}