comparison 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
comparison
equal deleted inserted replaced
1382:a1e0ddadbf22 1387:7b058ba5fa67
1067 connect(action, SIGNAL(triggered()), this, SLOT(showUnitConverter())); 1067 connect(action, SIGNAL(triggered()), this, SLOT(showUnitConverter()));
1068 menu->addAction(action); 1068 menu->addAction(action);
1069 1069
1070 menu->addSeparator(); 1070 menu->addSeparator();
1071 1071
1072 #ifndef Q_OS_MAC
1073 // Only on non-Mac platforms -- on the Mac this interacts very
1074 // badly with the "native" full-screen mode
1072 action = new QAction(tr("Go Full-Screen"), this); 1075 action = new QAction(tr("Go Full-Screen"), this);
1073 action->setShortcut(tr("F11")); 1076 action->setShortcut(tr("F11"));
1074 action->setStatusTip(tr("Expand the pane area to the whole screen")); 1077 action->setStatusTip(tr("Expand the pane area to the whole screen"));
1075 connect(action, SIGNAL(triggered()), this, SLOT(goFullScreen())); 1078 connect(action, SIGNAL(triggered()), this, SLOT(goFullScreen()));
1076 m_keyReference->registerShortcut(action); 1079 m_keyReference->registerShortcut(action);
1077 menu->addAction(action); 1080 menu->addAction(action);
1081 #endif
1078 } 1082 }
1079 1083
1080 void 1084 void
1081 MainWindow::setupPaneAndLayerMenus() 1085 MainWindow::setupPaneAndLayerMenus()
1082 { 1086 {