nvm, just refactor for now

This commit is contained in:
RickyRister 2026-01-10 02:45:07 -08:00
parent 2db9dd2937
commit 5efac416ab
2 changed files with 0 additions and 12 deletions

View file

@ -30,11 +30,6 @@ void ColorIdentityWidget::populateManaSymbolWidgets()
QString fullColorIdentity = "WUBRG";
QStringList symbols = parseColorIdentity(colorIdentity); // Parse mana cost string
// clear old layout
for (auto widgets : layout->findChildren<ManaSymbolWidget *>()) {
widgets->deleteLater();
}
// populate mana symbols
if (SettingsCache::instance().getVisualDeckStorageDrawUnusedColorIdentities()) {
for (const QString symbol : fullColorIdentity) {
@ -49,12 +44,6 @@ void ColorIdentityWidget::populateManaSymbolWidgets()
}
}
void ColorIdentityWidget::setColorIdentity(const QString &_colorIdentity)
{
colorIdentity = _colorIdentity;
populateManaSymbolWidgets();
}
void ColorIdentityWidget::toggleUnusedVisibility()
{
if (layout != nullptr) {

View file

@ -21,7 +21,6 @@ public:
static QStringList parseColorIdentity(const QString &manaString);
public slots:
void setColorIdentity(const QString &_colorIdentity);
void resizeEvent(QResizeEvent *event) override;
void toggleUnusedVisibility();