diff options
| author | Rafael Fernández López <[email protected]> | 2007-10-14 22:51:02 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-10-14 22:51:02 +0000 |
| commit | 417a1f6256c704a51e4883adad4608c78c0cdc3c (patch) | |
| tree | 3e8155b227aa4354346aea6411c09a0aaf20d65e /src/dolphinview.cpp | |
| parent | 9f814ded982f95a36efeae4717d9a69c68db789c (diff) | |
The sorting on dolphinview is no more needed, it is done automatically by KCategorizedSortFilterProxyModel when setCategorizedModel is changed.
Bug fixed for the categorized view: Details => Icons (with no categories) => Categorized was resulting in no items in the view or all items in the same position
svn path=/trunk/KDE/kdebase/apps/; revision=725212
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index ecc4dc341..87170bfb7 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -204,7 +204,6 @@ void DolphinView::setMode(Mode mode) const bool categorized = m_storedCategorizedSorting && supportsCategorizedSorting(); if (categorized != m_proxyModel->isCategorizedModel()) { m_proxyModel->setCategorizedModel(categorized); - m_proxyModel->sort(m_proxyModel->sortColumn(), m_proxyModel->sortOrder()); emit categorizedSortingChanged(); } @@ -273,7 +272,6 @@ void DolphinView::setCategorizedSorting(bool categorized) m_storedCategorizedSorting = categorized; m_proxyModel->setCategorizedModel(categorized); - m_proxyModel->sort(m_proxyModel->sortColumn(), m_proxyModel->sortOrder()); emit categorizedSortingChanged(); } @@ -666,7 +664,6 @@ void DolphinView::applyViewProperties(const KUrl& url) const bool categorized = m_storedCategorizedSorting && supportsCategorizedSorting(); if (categorized != m_proxyModel->isCategorizedModel()) { m_proxyModel->setCategorizedModel(categorized); - m_proxyModel->sort(m_proxyModel->sortColumn(), m_proxyModel->sortOrder()); emit categorizedSortingChanged(); } |
