mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Fix build on Mac with Qt4
QKeySequence::FullScreen was only added in Qt5 Closes #1513
This commit is contained in:
parent
528af49753
commit
b81c45486f
@ -629,7 +629,7 @@ void MainMenu::init()
|
|||||||
m_actions[QSL("Other/RestoreClosedTab")] = action;
|
m_actions[QSL("Other/RestoreClosedTab")] = action;
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#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
|
// 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")]);
|
m_menuFile->addAction(m_actions[QSL("Standard/About")]);
|
||||||
|
Loading…
Reference in New Issue
Block a user