From b81c45486fd737ed75eed3b2ddb7310c6b3b9327 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Tue, 4 Nov 2014 10:27:40 +0100 Subject: [PATCH] Fix build on Mac with Qt4 QKeySequence::FullScreen was only added in Qt5 Closes #1513 --- src/lib/app/mainmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/app/mainmenu.cpp b/src/lib/app/mainmenu.cpp index c4b603019..8a49b6039 100644 --- a/src/lib/app/mainmenu.cpp +++ b/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")]);