diff options
| author | Peter Penz <[email protected]> | 2007-09-25 13:16:17 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-09-25 13:16:17 +0000 |
| commit | 1db9b6c3c4d494e055696e5d96629f33ea109abc (patch) | |
| tree | 3abea1c0434f8070cc4eca280eecd78e6542b317 /src | |
| parent | ffe9f62839d5bc908dfd3d6b2c237464c907a78c (diff) | |
fix filtering issues for views that show a directory hierarchy like a tree view or a column view: the directories should not get filtered
svn path=/trunk/KDE/kdebase/apps/; revision=716873
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 5194646f6..a2902afd7 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -452,18 +452,8 @@ void DolphinViewContainer::changeNameFilter(const QString& nameFilter) adjustedFilter.insert(0, '*'); adjustedFilter.append('*'); - // Use the ProxyModel to filter: - // This code is #ifdefed as setNameFilter behaves - // slightly different than the QSortFilterProxyModel - // as it will not remove directories. I will ask - // our beloved usability experts for input - // -- z. -#if 0 m_dirLister->setNameFilter(adjustedFilter); m_dirLister->emitChanges(); -#else - m_proxyModel->setFilterRegExp(nameFilter); -#endif updateStatusBar(); } |
