partial rename

This commit is contained in:
DawnFire42 2026-06-08 16:36:10 -04:00
parent 9c0180c183
commit 7ca066389f
No known key found for this signature in database
GPG key ID: 24BB855EE2911B33
6 changed files with 34 additions and 34 deletions

View file

@ -46,7 +46,7 @@ GameView::GameView(GameScene *scene, QWidget *parent) : QGraphicsView(scene, par
connect(scene, &GameScene::sigStartRubberBand, this, &GameView::startRubberBand);
connect(scene, &GameScene::sigResizeRubberBand, this, &GameView::resizeRubberBand);
connect(scene, &GameScene::sigStopRubberBand, this, &GameView::stopRubberBand);
connect(scene, &QGraphicsScene::selectionChanged, this, [this]() { updateSelectionTally(); });
connect(scene, &QGraphicsScene::selectionChanged, this, [this]() { updateSelectionCount(); });
aCloseMostRecentZoneView = new QAction(this);
@ -95,7 +95,7 @@ void GameView::resizeEvent(QResizeEvent *event)
}
updateSceneRect(scene()->sceneRect());
updateSelectionTally(event->size());
updateSelectionCount(event->size());
}
void GameView::updateSceneRect(const QRectF &rect)
@ -126,7 +126,7 @@ void GameView::resizeRubberBand(const QPointF &cursorPoint, int selectedCount)
QRect rect = QRect(mapFromScene(selectionOrigin), cursor).normalized();
rubberBand->setGeometry(rect);
if (!SettingsCache::instance().getShowDragSelectionTally()) {
if (!SettingsCache::instance().getShowDragSelectionCount()) {
dragCountLabel->hide();
return;
}
@ -206,7 +206,7 @@ void GameView::rebuildSubtypeLabels(const QList<SubtypeEntry> &entries)
}
}
void GameView::updateSelectionTally(const QSize &viewSize)
void GameView::updateSelectionCount(const QSize &viewSize)
{
constexpr int kMarginInPixels = 10;
constexpr int kSpacingBetweenLabels = 4;
@ -216,7 +216,7 @@ void GameView::updateSelectionTally(const QSize &viewSize)
int count = scene()->selectedItems().count();
if (!SettingsCache::instance().getShowTotalSelectionTally() || count <= 1) {
if (!SettingsCache::instance().getShowTotalSelectionCount() || count <= 1) {
totalCountLabel->hide();
} else {
totalCountLabel->setText(QString::number(count));