Changeset View
Changeset View
Standalone View
Standalone View
libdiscover/Category/Category.cpp
Context not available. | |||||
134 | return m_andFilters; | 134 | return m_andFilters; | ||
---|---|---|---|---|---|
135 | } | 135 | } | ||
136 | 136 | | |||
137 | void Category::setAndFilter(QVector<QPair<FilterType, QString> > filters) | ||||
138 | { | ||||
139 | m_andFilters = filters; | ||||
140 | } | ||||
141 | | ||||
137 | QVector<QPair<FilterType, QString> > Category::orFilters() const | 142 | QVector<QPair<FilterType, QString> > Category::orFilters() const | ||
138 | { | 143 | { | ||
139 | return m_orFilters; | 144 | return m_orFilters; | ||
Context not available. | |||||
192 | ) | 197 | ) | ||
193 | { | 198 | { | ||
194 | qCWarning(LIBDISCOVER_LOG) << "the following categories seem to be the same but they're not entirely" | 199 | qCWarning(LIBDISCOVER_LOG) << "the following categories seem to be the same but they're not entirely" | ||
200 | << c->icon() << newcat->icon() << "--" | ||||
195 | << c->name() << newcat->name() << "--" | 201 | << c->name() << newcat->name() << "--" | ||
196 | << c->andFilters() << newcat->andFilters() << "--" | 202 | << c->andFilters() << newcat->andFilters() << "--" | ||
197 | << c->isAddons() << newcat->isAddons(); | 203 | << c->isAddons() << newcat->isAddons(); | ||
Context not available. |