Fix build on Mac with Qt4

QKeySequence::FullScreen was only added in Qt5

Closes #1513
remotes/origin/falkon
David Rosca 12 years ago
parent 528af49753
commit b81c45486f
  1. 2
      src/lib/app/mainmenu.cpp

@ -629,7 +629,7 @@ void MainMenu::init()
m_actions[QSL("Other/RestoreClosedTab")] = action;
#ifdef Q_OS_MAC
m_actions[QSL("View/FullScreen")]->setShortcut(QKeySequence::FullScreen);
m_actions[QSL("View/FullScreen")]->setShortcut(QKeySequence(QSL("Ctrl+Meta+F")));
// Add standard actions to File Menu (as it won't be ever cleared) and Mac menubar should move them to "Application" menu
m_menuFile->addAction(m_actions[QSL("Standard/About")]);

Loading…
Cancel
Save