From 51ecb35fde74c12521240aa13a265072f01436ae Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sat, 11 Jan 2025 23:43:15 -0800 Subject: [PATCH] comment --- cockatrice/src/client/ui/window_main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cockatrice/src/client/ui/window_main.cpp b/cockatrice/src/client/ui/window_main.cpp index 4e23b54e9..154568bd0 100644 --- a/cockatrice/src/client/ui/window_main.cpp +++ b/cockatrice/src/client/ui/window_main.cpp @@ -82,6 +82,11 @@ const QString MainWindow::appName = "Cockatrice"; const QStringList MainWindow::fileNameFilters = QStringList() << QObject::tr("Cockatrice card database (*.xml)") << QObject::tr("All files (*.*)"); +/** + * Replaces the tab-specific menus that are shown in the menuBar. + * + * @param newMenuList The tab-specific menus to show in the menuBar + */ void MainWindow::updateTabMenu(const QList &newMenuList) { for (auto &tabMenu : tabMenus)