Rename SubtypeCounter to SubtypeTally

This commit is contained in:
DawnFire42 2026-06-04 19:35:05 -04:00
parent c947808547
commit ca6cb8fb91
No known key found for this signature in database
GPG key ID: 24BB855EE2911B33
5 changed files with 16 additions and 16 deletions

View file

@ -2,7 +2,7 @@
#include "../client/settings/cache_settings.h"
#include "game_scene.h"
#include "selection_subtype_counter.h"
#include "selection_subtype_tally.h"
#include <QAction>
#include <QLabel>
@ -172,13 +172,13 @@ void GameView::refreshShortcuts()
SettingsCache::instance().shortcuts().getShortcut("Player/aCloseMostRecentZoneView"));
}
QString GameView::buildSubtypeCountText() const
QString GameView::buildSubtypeTallyText() const
{
GameScene *gameScene = dynamic_cast<GameScene *>(scene());
if (!gameScene) {
return QString();
}
return SelectionSubtypeCounter::buildSubtypeCountText(gameScene->selectedCards());
return SelectionSubtypeTally::buildSubtypeTallyText(gameScene->selectedCards());
}
void GameView::updateSelectionCount(const QSize &viewSize)
@ -208,7 +208,7 @@ void GameView::updateSelectionCount(const QSize &viewSize)
return;
}
QString subtypeText = buildSubtypeCountText();
QString subtypeText = buildSubtypeTallyText();
if (subtypeText.isEmpty()) {
subtypeCountLabel->hide();