[Client] Fix indentation of merged Card Art Rules / Developer tabs

This commit is contained in:
Lukas Brübach 2026-09-11 09:01:49 +02:00
parent ff3e45fd9c
commit 2b33cbfb66

View file

@ -117,7 +117,7 @@ void CloseButton::paintEvent(QPaintEvent * /*event*/)
} }
TabSupervisor::TabSupervisor(AbstractClient *_client, QMenu *tabsMenu, QWidget *parent) TabSupervisor::TabSupervisor(AbstractClient *_client, QMenu *tabsMenu, QWidget *parent)
: QTabWidget(parent), userInfo(nullptr), client(_client), tabsMenu(tabsMenu), tabHome(nullptr), : QTabWidget(parent), userInfo(nullptr), client(_client), tabsMenu(tabsMenu), tabHome(nullptr),
tabVisualDeckStorage(nullptr), tabServer(nullptr), tabAccount(nullptr), tabDeckStorage(nullptr), tabVisualDeckStorage(nullptr), tabServer(nullptr), tabAccount(nullptr), tabDeckStorage(nullptr),
tabReplays(nullptr), tabAdmin(nullptr), tabCardArtRules(nullptr), tabLog(nullptr), tabReport(nullptr), tabReplays(nullptr), tabAdmin(nullptr), tabCardArtRules(nullptr), tabLog(nullptr), tabReport(nullptr),
tabModeration(nullptr), tabDeveloper(nullptr), isLocalGame(false) tabModeration(nullptr), tabDeveloper(nullptr), isLocalGame(false)
@ -251,7 +251,7 @@ void TabSupervisor::retranslateUi()
aTabLog->setText(tr("Logs")); aTabLog->setText(tr("Logs"));
aTabReport->setText(tr("Report Queue")); aTabReport->setText(tr("Report Queue"));
aTabModeration->setText(tr("Moderation")); aTabModeration->setText(tr("Moderation"));
aTabCardArtRules->setText(tr("Card Art Rules")); aTabCardArtRules->setText(tr("Card Art Rules"));
aTabDeveloper->setText(tr("Developer")); aTabDeveloper->setText(tr("Developer"));
// tabs // tabs
@ -264,7 +264,7 @@ aTabCardArtRules->setText(tr("Card Art Rules"));
tabs.append(tabLog); tabs.append(tabLog);
tabs.append(tabReport); tabs.append(tabReport);
tabs.append(tabModeration); tabs.append(tabModeration);
tabs.append(tabCardArtRules); tabs.append(tabCardArtRules);
tabs.append(tabDeveloper); tabs.append(tabDeveloper);
QMapIterator<int, TabRoom *> roomIterator(roomTabs); QMapIterator<int, TabRoom *> roomIterator(roomTabs);
while (roomIterator.hasNext()) { while (roomIterator.hasNext()) {
@ -608,13 +608,12 @@ void TabSupervisor::stop()
if (tabModeration) { if (tabModeration) {
tabModeration->close(); tabModeration->close();
} }
if (tabCardArtRules) { if (tabCardArtRules) {
tabCardArtRules->close(); tabCardArtRules->close();
} }
if (tabDeveloper) { if (tabDeveloper) {
tabDeveloper->close(); tabDeveloper->close();
} }
}
} }
QList<Tab *> tabsToDelete; QList<Tab *> tabsToDelete;