mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
Cleanup.
This commit is contained in:
parent
72192f6392
commit
5c61b7826c
2 changed files with 0 additions and 9 deletions
|
|
@ -77,19 +77,11 @@ void VisualDeckStorageFolderDisplayWidget::createWidgetsForFiles()
|
||||||
allDecks.append(display);
|
allDecks.append(display);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*auto filteredByColorIdentity =
|
|
||||||
deckPreviewColorIdentityFilterWidget->filterWidgets(sortWidget->filterFiles(allDecks));
|
|
||||||
auto filteredByTags = tagFilterWidget->filterDecksBySelectedTags(filteredByColorIdentity);
|
|
||||||
auto filteredFiles = searchWidget->filterFiles(filteredByTags, searchWidget->getSearchText());
|
|
||||||
*/
|
|
||||||
|
|
||||||
flowWidget->clearLayout(); // Clear existing widgets in the flow layout
|
flowWidget->clearLayout(); // Clear existing widgets in the flow layout
|
||||||
|
|
||||||
for (DeckPreviewWidget *deck : allDecks) {
|
for (DeckPreviewWidget *deck : allDecks) {
|
||||||
flowWidget->addWidget(deck);
|
flowWidget->addWidget(deck);
|
||||||
}
|
}
|
||||||
|
|
||||||
// emit bannerCardsRefreshed();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void VisualDeckStorageFolderDisplayWidget::updateVisibility()
|
void VisualDeckStorageFolderDisplayWidget::updateVisibility()
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@ void VisualDeckStorageTagFilterWidget::filterDecksBySelectedTags(const QList<Dec
|
||||||
void VisualDeckStorageTagFilterWidget::refreshTags()
|
void VisualDeckStorageTagFilterWidget::refreshTags()
|
||||||
{
|
{
|
||||||
QStringList allTags = gatherAllTags();
|
QStringList allTags = gatherAllTags();
|
||||||
qDebug() << "Refreshed tags: " << allTags;
|
|
||||||
removeTagsNotInList(gatherAllTags());
|
removeTagsNotInList(gatherAllTags());
|
||||||
addTagsIfNotPresent(gatherAllTags());
|
addTagsIfNotPresent(gatherAllTags());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue