1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Fix build on Mac with Qt4

QKeySequence::FullScreen was only added in Qt5

Closes #1513
This commit is contained in:
David Rosca 2014-11-04 10:27:40 +01:00
parent 528af49753
commit b81c45486f

View File

@ -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")]);