diff main/MainWindow.cpp @ 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 3ef81d81b767
children 4c5533df5d72 0886d3f1095d
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