changeset 1387:7b058ba5fa67 3.0-integration

Remove full-screen entry on OSX (#1759: SV's full-screen mode interacts badly with OSX full-screen mode)
author Chris Cannam
date Mon, 05 Dec 2016 16:29:13 +0000
parents a1e0ddadbf22
children 032bf0b11de9
files main/MainWindow.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Fri Dec 02 09:14:11 2016 +0000
+++ b/main/MainWindow.cpp	Mon Dec 05 16:29:13 2016 +0000
@@ -1069,12 +1069,16 @@
 
     menu->addSeparator();
 
+#ifndef Q_OS_MAC
+    // Only on non-Mac platforms -- on the Mac this interacts very
+    // badly with the "native" full-screen mode
     action = new QAction(tr("Go Full-Screen"), this);
     action->setShortcut(tr("F11"));
     action->setStatusTip(tr("Expand the pane area to the whole screen"));
     connect(action, SIGNAL(triggered()), this, SLOT(goFullScreen()));
     m_keyReference->registerShortcut(action);
     menu->addAction(action);
+#endif
 }
 
 void