┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-07-29 23:16:58 +0200
committerFrank Reininghaus <[email protected]>2013-07-29 23:16:58 +0200
commit8552eb5d757a6f75128bdde334c84903aed83cf5 (patch)
tree0891b22c9f7a246a9fcc3b5d654aeb0b3f60d620 /src/kitemviews/kfileitemmodel.cpp
parent611c935e033bf69895c5a7fd9f96381926c1c82b (diff)
parent09bf5b66dc5136885c36e6b702047d56b627770d (diff)
Merge remote-tracking branch 'origin/KDE/4.11'
Diffstat (limited to 'src/kitemviews/kfileitemmodel.cpp')
-rw-r--r--src/kitemviews/kfileitemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp
index d174cf67f..1b4911dec 100644
--- a/src/kitemviews/kfileitemmodel.cpp
+++ b/src/kitemviews/kfileitemmodel.cpp
@@ -702,7 +702,7 @@ void KFileItemModel::resortAllItems()
QList<int> movedToIndexes;
movedToIndexes.reserve(itemCount);
for (int i = 0; i < itemCount; i++) {
- const int newIndex = m_items.value(oldUrls.at(i).url());
+ const int newIndex = m_items.value(oldUrls.at(i));
movedToIndexes.append(newIndex);
}