[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:40:39
Message-ID: 20041204214039.E88D11A29E () office ! kde ! org
[Download RAW message or body]
CVS commit by neundorf:
-always show the root project directory item, even if it is filtered out by
the filter (apply filter doesn't apply to the root item alter on)
Alex
M +2 -2 filetreewidget.cpp 1.59
--- kdevelop/parts/fileview/filetreewidget.cpp #1.58:1.59
@@ -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() ) );
+ return (( (m_impl->showNonProjectFiles() || i->isDir() || i->isProjectFile() )
+ && !matchesHidePattern( i->url().fileName() ) ) || (item->parent()==0));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic