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

List:       kde-commits
Subject:    kdenonbeta/krecipes/src (silent)
From:       Unai Garro <Unai.Garro () ee ! ed ! ac ! uk>
Date:       2003-09-30 14:22:36
[Download RAW message or body]

CVS commit by uga: 

CVS_SILENT
Correct the comment before someone copy+pastes it. firstChild() replies with a zero \
too when there's no child (recipe) in a category


  M +1 -1      selectrecipedialog.cpp   1.43


--- kdenonbeta/krecipes/src/selectrecipedialog.cpp  #1.42:1.43
@@ -218,5 +218,5 @@ void SelectRecipeDialog::filter(const QS
 for (QListViewItem *it=recipeListView->firstChild();it;it=it->nextSibling())
         {
-        if (!it->firstChild()) // It's not a category
+        if (!it->firstChild()) // It's not a category or it's empty
         {
                 if (s==QString::null) it->setVisible(true); // Don't filter if the \
filter text is empty


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

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