mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Enable tear-off on menus. (#3772)
This commit is contained in:
parent
a3a1e20074
commit
2ef3e6fc93
3 changed files with 11 additions and 0 deletions
|
|
@ -1382,6 +1382,8 @@ void TabGame::createMenuItems()
|
|||
aCloseReplay = nullptr;
|
||||
|
||||
phasesMenu = new QMenu(this);
|
||||
phasesMenu->setTearOffEnabled(true);
|
||||
|
||||
for (int i = 0; i < phasesToolbar->phaseCount(); ++i) {
|
||||
QAction *temp = new QAction(QString(), this);
|
||||
connect(temp, SIGNAL(triggered()), this, SLOT(actPhaseAction()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue