mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 09:22:18 -07:00
PR comments
This commit is contained in:
parent
9ac9e761da
commit
10f97f9ef8
3 changed files with 6 additions and 5 deletions
|
|
@ -53,5 +53,5 @@ void TallyMenu::retranslateUi()
|
|||
|
||||
aTallyNone->setText(tr("None"));
|
||||
aTallySubtypes->setText(tr("Subtypes"));
|
||||
aTallyTotalPower->setText(tr("Total power"));
|
||||
aTallyTotalPower->setText(tr("Total Power"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <QCoreApplication>
|
||||
#include <QList>
|
||||
#include <algorithm>
|
||||
|
||||
static int sumPowers(const QList<CardItem *> &cards)
|
||||
{
|
||||
|
|
@ -32,4 +33,4 @@ QList<TallyRow> StatsTally::computeTotalPower(const QList<CardItem *> &cards)
|
|||
|
||||
QString name = QCoreApplication::translate("StatsTally", "Total Power");
|
||||
return {TallyRow{name, QString::number(total)}};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef COCKATRICE_POWER_TALLY_H
|
||||
#define COCKATRICE_POWER_TALLY_H
|
||||
#ifndef COCKATRICE_STATS_TALLY_H
|
||||
#define COCKATRICE_STATS_TALLY_H
|
||||
#include "tally.h"
|
||||
|
||||
/**
|
||||
|
|
@ -18,4 +18,4 @@ QList<TallyRow> computeTotalPower(const QList<CardItem *> &cards);
|
|||
|
||||
} // namespace StatsTally
|
||||
|
||||
#endif // COCKATRICE_POWER_TALLY_H
|
||||
#endif // COCKATRICE_STATS_TALLY_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue