Run formatter on all our files (#6942)

This commit is contained in:
RickyRister 2026-05-26 15:11:38 -07:00 committed by GitHub
parent b3c89167c5
commit 1d5d3f2d38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 153 additions and 81 deletions

View file

@ -108,8 +108,9 @@ void FlowWidget::clearLayout()
if (flowLayout) {
QLayoutItem *item;
while ((item = flowLayout->takeAt(0))) {
if (item->widget())
if (item->widget()) {
item->widget()->deleteLater();
}
delete item;
}
} else {

View file

@ -24,7 +24,7 @@ public:
QJsonObject getOracleCard() const
{
return oracleCard;
};
}
QString getCollectorNumber() const
{

View file

@ -33,7 +33,7 @@ public:
ArchidektApiResponseCard getCard() const
{
return card;
};
}
QList<Category> getCategories() const
{

View file

@ -27,7 +27,7 @@ public:
QVector<ArchidektApiResponseCardEntry> getCards() const
{
return cards;
};
}
QVector<ArchidektApiResponseDeckCategory> getCategories() const
{
@ -37,7 +37,7 @@ public:
QString getDeckName() const
{
return name;
};
}
int getDeckFormat() const
{

View file

@ -174,7 +174,8 @@ void VisualDatabaseDisplayFilterToolbarWidget::updateCompactMode(int availableWi
};
for (auto *btn : filterButtons) {
if (btn->isCompact() != compact) // only act on transitions
if (btn->isCompact() != compact) { // only act on transitions
btn->setCompact(compact);
}
}
}