From 7827df9397a05383d25b68b3220b77aa84c7bf0c Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 21 Jun 2010 14:32:06 +0000 Subject: [PATCH] Disable global shortcuts dialog on <= 10.5 Mac. --- src/ui/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index eef4b1890..60089026f 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -413,6 +413,10 @@ MainWindow::MainWindow(NetworkAccessManager* network, Engine::Type engine, QWidg ui_->action_configure_global_shortcuts->setMenuRole(QAction::ApplicationSpecificRole); // Force this menu to be the app "About". ui_->action_about->setMenuRole(QAction::AboutRole); + + if (QSysInfo::MacintoshVersion != QSysInfo::MV_SNOWLEOPARD) { + ui_->action_configure_global_shortcuts->setEnabled(false); + } #else tray_icon_->setContextMenu(tray_menu); connect(tray_icon_, SIGNAL(WheelEvent(int)), SLOT(VolumeWheelEvent(int)));