remove redundant calls to gatherAllTags

This commit is contained in:
RickyRister 2025-04-19 01:04:04 -07:00
parent a7af1cb703
commit ce8583ae7f

View file

@ -65,8 +65,8 @@ void VisualDeckStorageTagFilterWidget::filterDecksBySelectedTags(const QList<Dec
void VisualDeckStorageTagFilterWidget::refreshTags()
{
QStringList allTags = gatherAllTags();
removeTagsNotInList(gatherAllTags());
addTagsIfNotPresent(gatherAllTags());
removeTagsNotInList(allTags);
addTagsIfNotPresent(allTags);
sortTags();
}