Skip to content

Commit

Permalink
WtrackMenu: name crates submenu to allow individual styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed May 1, 2021
1 parent 1caf6f2 commit 1322088
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widget/wtrackmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ void WTrackMenu::createMenus() {
if (featureIsEnabled(Feature::Crate)) {
m_pCrateMenu = new QMenu(this);
m_pCrateMenu->setTitle(tr("Crates"));
m_pCrateMenu->setObjectName("CratesMenu");
connect(m_pCrateMenu, &QMenu::aboutToShow, this, &WTrackMenu::slotPopulateCrateMenu);
}

Expand Down

0 comments on commit 1322088

Please sign in to comment.