[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/fileview
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2004-12-04 21:49:46
Message-ID: 20041204214946.97E241BA3F () office ! kde ! org
[Download RAW message or body]

CVS commit by neundorf: 

-always show directories in the file tree

Alex


  M +2 -2      filetreewidget.cpp   1.60


--- kdevelop/parts/fileview/filetreewidget.cpp  #1.59:1.60
@@ -137,6 +137,6 @@ bool FileTreeWidget::shouldBeShown( KFil
 {
     FileTreeViewItem * i = static_cast<FileTreeViewItem *>( item );
-    return (( (m_impl->showNonProjectFiles() || i->isDir() || i->isProjectFile() )
-             && !matchesHidePattern( i->url().fileName() ) ) || (item->parent()==0));
+    return ( i->isDir() || ( (m_impl->showNonProjectFiles() || i->isProjectFile() )
+             && !matchesHidePattern( i->url().fileName() ) ) ) ;
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic