Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kdevelop filtered count feature
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
yzg
Apprentice
Apprentice


Joined: 18 Jun 2005
Posts: 192

PostPosted: Tue Jun 11, 2013 4:53 am    Post subject: Kdevelop filtered count feature Reply with quote

After updating to Kdevelop version 4.5.1, the folder names in the Project view have the text "( xx Filtered)" next to them.
Is there any way to disable this new feature?
Back to top
View user's profile Send private message
yzg
Apprentice
Apprentice


Joined: 18 Jun 2005
Posts: 192

PostPosted: Tue Jun 11, 2013 10:55 pm    Post subject: Reply with quote

Here is a patch to remove this feature if you are interested:

Code:

--- project/projectproxymodel.cpp.orig  2013-06-11 22:06:46.568796135 +1000
+++ project/projectproxymodel.cpp       2013-06-11 22:07:41.366205390 +1000
@@ -66,7 +66,7 @@
         case Qt::DisplayRole:
             if(index.isValid() && hasChildren(index) && (!mFilenameFilters.isEmpty() || !mFilenameExcludeFilters.isEmpty())) {
                 QString text = QSortFilterProxyModel::data(index, role).toString();
-                return i18n("%1 (%2 Filtered)", text, rowCount(index));
+                return i18n("%1", text);
             }
             break;
     }
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum