CVS commit by uga: Check all the categories for the search by default M +6 -1 dietwizarddialog.cpp 1.32 --- kdenonbeta/krecipes/src/dialogs/dietwizarddialog.cpp #1.31:1.32 @@ -247,5 +247,10 @@ public: class CategoriesListItem:public QCheckListItem{ public: - CategoriesListItem(QListView* klv, const Element &category ):QCheckListItem(klv,QString::null,QCheckListItem::CheckBox){ctyStored.id=category.id; ctyStored.name=category.name;} + CategoriesListItem(QListView* klv, const Element &category ):QCheckListItem(klv,QString::null,QCheckListItem::CheckBox) + { + ctyStored.id=category.id; + ctyStored.name=category.name; + setOn(true); // Set checked by default + } ~CategoriesListItem(void){} virtual QString text(int column) const