summaryrefslogtreecommitdiffstats
path: root/konqueror/listview/konq_listviewitems.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/listview/konq_listviewitems.cpp')
-rw-r--r--konqueror/listview/konq_listviewitems.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/konqueror/listview/konq_listviewitems.cpp b/konqueror/listview/konq_listviewitems.cpp
index c539a4c5d..ae6a5ca4f 100644
--- a/konqueror/listview/konq_listviewitems.cpp
+++ b/konqueror/listview/konq_listviewitems.cpp
@@ -27,6 +27,7 @@
#include <tqpainter.h>
#include <tqheader.h>
#include <kiconloader.h>
+#include <kdirlister.h>
static TQString retrieveExtraEntry( KFileItem* fileitem, int numExtra )
{
@@ -95,13 +96,10 @@ void KonqListViewItem::updateContents()
sortChar = S_ISDIR( m_fileitem->mode() ) ? 1 : 3;
else
sortChar = 3;
-
- /* Temporarily
- */
- TDEIO::HiddenFileMatcher* matcher = TDEIO::HiddenFileMatcher::getInstance();
- if ( m_groupHiddenFirst && matcher->match(m_fileitem->text()) )
+ if ( m_groupHiddenFirst && m_pListViewWidget->m_dirLister->matcher->match( m_fileitem->text() ) )
--sortChar;
+
//now we have the first column, so let's do the rest
int numExtra = 1;