diff --git a/src/apps/deskflow-gui/MainWindow.cpp b/src/apps/deskflow-gui/MainWindow.cpp index cb3200477..10736920e 100644 --- a/src/apps/deskflow-gui/MainWindow.cpp +++ b/src/apps/deskflow-gui/MainWindow.cpp @@ -577,9 +577,14 @@ void MainWindow::open() QList trayActions{m_actionStartCore, m_actionStopCore, nullptr, m_actionQuit}; #ifdef Q_OS_MAC + // Duplicate quit needed for mac os tray menu + QAction *actionTrayQuit = new QAction(tr("Quit Deskflow"), this); + actionTrayQuit->setShortcut(QKeySequence::Quit); + m_actionRestore->setText(tr("Open Deskflow")); trayActions.insert(3, m_actionRestore); - trayActions.insert(4, nullptr); + trayActions.append(nullptr); + trayActions.append(actionTrayQuit); #endif m_TrayIcon.create(trayActions);