mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Remove some debugs
This commit is contained in:
parent
424822d982
commit
a729b749ba
2 changed files with 0 additions and 3 deletions
|
|
@ -146,7 +146,6 @@ void VisualDatabaseDisplayColorFilterWidget::syncWithFilterModel()
|
|||
// Add filters that are in the model but not in the UI
|
||||
for (const auto &color : currentFilters) {
|
||||
if (!activeFilterList.contains(color)) {
|
||||
qDebug() << "Enabling" << color;
|
||||
activeColors[color[0]] = true; // Enable the color
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,12 +89,10 @@ void VisualDatabaseDisplayFilterSaveLoadWidget::loadFilter(const QString &filena
|
|||
filterModel->blockSignals(true);
|
||||
filterModel->filterTree()->blockSignals(true);
|
||||
for (const QJsonValue &value : filtersArray) {
|
||||
qDebug() << value;
|
||||
if (value.isObject()) {
|
||||
QJsonObject filterObj = value.toObject();
|
||||
CardFilter *filter = CardFilter::fromJson(filterObj);
|
||||
if (filter) {
|
||||
qDebug() << "Adding filter " << filter->type() << filter->attr() << filter->term();
|
||||
filterModel->addFilter(filter);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue