Skip to content
Permalink
Browse files

Merge PR #2762: MainWindow: don't include 'Hide Mumble' menu item on …

…macOS.
  • Loading branch information...
mkrautz committed Jan 22, 2017
2 parents bf90fad + 32030ed commit b5aef4ca80f30e94b8cc54f9940deefff331487a
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/mumble/MainWindow.cpp
@@ -1216,7 +1216,12 @@ void MainWindow::on_qmServer_aboutToShow() {
qmServer->addAction(qaServerUserList);
qmServer->addAction(qaServerBanList);
qmServer->addSeparator();
#if !defined(Q_OS_MAC)
// Don't add qaHide on macOS.
// There is no way to bring the window back (no 'tray' for Mumble on macOS),
// and the system has built-in hide functionality via Cmd-H.
qmServer->addAction(qaHide);
#endif
qmServer->addAction(qaQuit);

qaServerBanList->setEnabled(g.pPermissions & (ChanACL::Ban | ChanACL::Write));

0 comments on commit b5aef4c

Please sign in to comment.
You can’t perform that action at this time.