mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 16:32:16 -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);
|
||||
}
|
||||
|
||||
/*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
|
||||
|
||||
for (DeckPreviewWidget *deck : allDecks) {
|
||||
flowWidget->addWidget(deck);
|
||||
}
|
||||
|
||||
// emit bannerCardsRefreshed();
|
||||
}
|
||||
|
||||
void VisualDeckStorageFolderDisplayWidget::updateVisibility()
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@ void VisualDeckStorageTagFilterWidget::filterDecksBySelectedTags(const QList<Dec
|
|||
void VisualDeckStorageTagFilterWidget::refreshTags()
|
||||
{
|
||||
QStringList allTags = gatherAllTags();
|
||||
qDebug() << "Refreshed tags: " << allTags;
|
||||
removeTagsNotInList(gatherAllTags());
|
||||
addTagsIfNotPresent(gatherAllTags());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue