mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
Disable global shortcuts dialog on <= 10.5 Mac.
This commit is contained in:
parent
ad4229160e
commit
7827df9397
@ -413,6 +413,10 @@ MainWindow::MainWindow(NetworkAccessManager* network, Engine::Type engine, QWidg
|
|||||||
ui_->action_configure_global_shortcuts->setMenuRole(QAction::ApplicationSpecificRole);
|
ui_->action_configure_global_shortcuts->setMenuRole(QAction::ApplicationSpecificRole);
|
||||||
// Force this menu to be the app "About".
|
// Force this menu to be the app "About".
|
||||||
ui_->action_about->setMenuRole(QAction::AboutRole);
|
ui_->action_about->setMenuRole(QAction::AboutRole);
|
||||||
|
|
||||||
|
if (QSysInfo::MacintoshVersion != QSysInfo::MV_SNOWLEOPARD) {
|
||||||
|
ui_->action_configure_global_shortcuts->setEnabled(false);
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
tray_icon_->setContextMenu(tray_menu);
|
tray_icon_->setContextMenu(tray_menu);
|
||||||
connect(tray_icon_, SIGNAL(WheelEvent(int)), SLOT(VolumeWheelEvent(int)));
|
connect(tray_icon_, SIGNAL(WheelEvent(int)), SLOT(VolumeWheelEvent(int)));
|
||||||
|
Loading…
Reference in New Issue
Block a user