mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
comment
This commit is contained in:
parent
e18e49d303
commit
51ecb35fde
1 changed files with 5 additions and 0 deletions
|
|
@ -82,6 +82,11 @@ const QString MainWindow::appName = "Cockatrice";
|
||||||
const QStringList MainWindow::fileNameFilters = QStringList() << QObject::tr("Cockatrice card database (*.xml)")
|
const QStringList MainWindow::fileNameFilters = QStringList() << QObject::tr("Cockatrice card database (*.xml)")
|
||||||
<< QObject::tr("All files (*.*)");
|
<< 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<QMenu *> &newMenuList)
|
void MainWindow::updateTabMenu(const QList<QMenu *> &newMenuList)
|
||||||
{
|
{
|
||||||
for (auto &tabMenu : tabMenus)
|
for (auto &tabMenu : tabMenus)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue