From a55ee16c3d6ccdee6aa3732a7c739ec668b5465c Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 26 Jul 2010 12:05:50 +0000 Subject: [PATCH] Disable Cmd+H shortcut for shuffle on Mac as it conflicts with the default hide action. I haven't replaced the shortcut with anything else yet as it's not obvious what it should be. Fixed issue #523 --- src/ui/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index e7d6aaee7..a3d337ef2 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -399,6 +399,10 @@ MainWindow::MainWindow(NetworkAccessManager* network, Engine::Type engine, QWidg playlist_menu_->addAction(ui_->action_clear_playlist); playlist_menu_->addAction(ui_->action_shuffle); +#ifdef Q_OS_DARWIN + ui_->action_shuffle->setShortcut(QKeySequence()); +#endif + playlist_delete_->setVisible(false); // TODO connect(ui_->playlist, SIGNAL(UndoRedoActionsChanged(QAction*,QAction*)),