mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-23 07:03:54 -07:00
Remember which tabs are open between sessions (#5467)
This commit is contained in:
parent
23bd18a04c
commit
2def02e140
8 changed files with 219 additions and 66 deletions
|
|
@ -89,8 +89,10 @@ private:
|
|||
QAction *aTabDeckEditor, *aTabVisualDeckStorage, *aTabServer, *aTabAccount, *aTabDeckStorage, *aTabReplays,
|
||||
*aTabAdmin, *aTabLog;
|
||||
|
||||
int myAddTab(Tab *tab);
|
||||
void addCloseButtonToTab(Tab *tab, int tabIndex);
|
||||
void initStartupTabs();
|
||||
|
||||
int myAddTab(Tab *tab, QAction *manager = nullptr);
|
||||
void addCloseButtonToTab(Tab *tab, int tabIndex, QAction *manager);
|
||||
QString sanitizeTabName(QString dirty) const;
|
||||
QString sanitizeHtml(QString dirty) const;
|
||||
void resetTabsMenu();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue