Rename all count to tally in the feature

This commit is contained in:
DawnFire42 2026-06-04 23:34:20 -04:00
parent 11bd4f5640
commit 9c0180c183
No known key found for this signature in database
GPG key ID: 24BB855EE2911B33
6 changed files with 49 additions and 49 deletions

View file

@ -310,9 +310,9 @@ SettingsCache::SettingsCache()
closeEmptyCardView = settings->value("interface/closeEmptyCardView", true).toBool();
focusCardViewSearchBar = settings->value("interface/focusCardViewSearchBar", true).toBool();
showDragSelectionCount = settings->value("interface/showlassoselectioncount", true).toBool();
showTotalSelectionCount = settings->value("interface/showpersistentselectioncount", true).toBool();
showSubtypeSelectionCount = settings->value("interface/showsubtypeselectioncount", true).toBool();
showDragSelectionTally = settings->value("interface/showlassoselectiontally", true).toBool();
showTotalSelectionTally = settings->value("interface/showpersistentselectiontally", true).toBool();
showSubtypeSelectionTally = settings->value("interface/showsubtypeselectiontally", true).toBool();
showShortcuts = settings->value("menu/showshortcuts", true).toBool();
showGameSelectorFilterToolbar = settings->value("menu/showgameselectorfiltertoolbar", true).toBool();
@ -1361,22 +1361,22 @@ void SettingsCache::setRoundCardCorners(bool _roundCardCorners)
emit roundCardCornersChanged(roundCardCorners);
}
void SettingsCache::setShowDragSelectionCount(QT_STATE_CHANGED_T _showDragSelectionCount)
void SettingsCache::setShowDragSelectionTally(QT_STATE_CHANGED_T _showDragSelectionTally)
{
showDragSelectionCount = static_cast<bool>(_showDragSelectionCount);
settings->setValue("interface/showlassoselectioncount", showDragSelectionCount);
showDragSelectionTally = static_cast<bool>(_showDragSelectionTally);
settings->setValue("interface/showlassoselectiontally", showDragSelectionTally);
}
void SettingsCache::setShowTotalSelectionCount(QT_STATE_CHANGED_T _showTotalSelectionCount)
void SettingsCache::setShowTotalSelectionTally(QT_STATE_CHANGED_T _showTotalSelectionTally)
{
showTotalSelectionCount = static_cast<bool>(_showTotalSelectionCount);
settings->setValue("interface/showpersistentselectioncount", showTotalSelectionCount);
showTotalSelectionTally = static_cast<bool>(_showTotalSelectionTally);
settings->setValue("interface/showpersistentselectiontally", showTotalSelectionTally);
}
void SettingsCache::setShowSubtypeSelectionCount(QT_STATE_CHANGED_T _showSubtypeSelectionCount)
void SettingsCache::setShowSubtypeSelectionTally(QT_STATE_CHANGED_T _showSubtypeSelectionTally)
{
showSubtypeSelectionCount = static_cast<bool>(_showSubtypeSelectionCount);
settings->setValue("interface/showsubtypeselectioncount", showSubtypeSelectionCount);
showSubtypeSelectionTally = static_cast<bool>(_showSubtypeSelectionTally);
settings->setValue("interface/showsubtypeselectiontally", showSubtypeSelectionTally);
}
void SettingsCache::loadPaths()

View file

@ -347,9 +347,9 @@ private:
bool isPortableBuild;
bool roundCardCorners;
bool showStatusBar;
bool showDragSelectionCount;
bool showTotalSelectionCount;
bool showSubtypeSelectionCount;
bool showDragSelectionTally;
bool showTotalSelectionTally;
bool showSubtypeSelectionTally;
public:
SettingsCache();
@ -465,17 +465,17 @@ public:
{
return showStatusBar;
}
[[nodiscard]] bool getShowDragSelectionCount() const
[[nodiscard]] bool getShowDragSelectionTally() const
{
return showDragSelectionCount;
return showDragSelectionTally;
}
[[nodiscard]] bool getShowTotalSelectionCount() const
[[nodiscard]] bool getShowTotalSelectionTally() const
{
return showTotalSelectionCount;
return showTotalSelectionTally;
}
[[nodiscard]] bool getShowSubtypeSelectionCount() const
[[nodiscard]] bool getShowSubtypeSelectionTally() const
{
return showSubtypeSelectionCount;
return showSubtypeSelectionTally;
}
[[nodiscard]] bool getNotificationsEnabled() const
{
@ -1158,8 +1158,8 @@ public slots:
void setUpdateReleaseChannelIndex(int value);
void setMaxFontSize(int _max);
void setRoundCardCorners(bool _roundCardCorners);
void setShowDragSelectionCount(QT_STATE_CHANGED_T _showDragSelectionCount);
void setShowTotalSelectionCount(QT_STATE_CHANGED_T _showTotalSelectionCount);
void setShowSubtypeSelectionCount(QT_STATE_CHANGED_T _showSubtypeSelectionCount);
void setShowDragSelectionTally(QT_STATE_CHANGED_T _showDragSelectionTally);
void setShowTotalSelectionTally(QT_STATE_CHANGED_T _showTotalSelectionTally);
void setShowSubtypeSelectionTally(QT_STATE_CHANGED_T _showSubtypeSelectionTally);
};
#endif