┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-12-06 01:11:04 +0100
committerFrank Reininghaus <[email protected]>2013-12-06 01:22:39 +0100
commit6e3673305832180f46911743180d6ad090f2c6a0 (patch)
tree94c7313193c96907d0191b02dd9d0b6b0461c715 /src/dolphinviewcontainer.cpp
parent92cb6b3a1859cbebbac6ab0526a7216def8b44a5 (diff)
Make KFileItemModel::createMimeData() faster
Moreover, this commit ensures that the order of the URLs in the QMimeData object is the same as the order of the items in the view. Selecting many items and copying them to the clipboard could take quite a bit of time. This is because we used KDirModel::simplifiedUrlList(urls) to remove child items from the list of URLs, and this function sorts the URLs internally to make it easier to find out which of them are child URLs. However, since commit 5c5d87fec44e7c5934e4b24060200173153f0ff4, the selected indices are already stored in ascending order, and this makes it easy to detect if an item is a child of the last item that has been added to the QMimeData. BUG: 283409 REVIEW: 113515 FIXED-IN: 4.13.0
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
0 files changed, 0 insertions, 0 deletions