forked from qt-creator/qt-creator
Fix vanished fullscreen menu item text on non-OSX
Broke when removing old OS X 10.6 code paths. Task-number: QTCREATORBUG-12684 Change-Id: I95dea42d40d2f343476cea0eba44bc2a293a422d Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
@@ -654,7 +654,7 @@ void MainWindow::registerDefaultActions()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Full Screen Action
|
// Full Screen Action
|
||||||
m_toggleFullScreenAction = new QAction(this);
|
m_toggleFullScreenAction = new QAction(tr("Full Screen"), this);
|
||||||
m_toggleFullScreenAction->setMenuRole(QAction::NoRole);
|
m_toggleFullScreenAction->setMenuRole(QAction::NoRole);
|
||||||
m_toggleFullScreenAction->setCheckable(!Utils::HostOsInfo::isMacHost());
|
m_toggleFullScreenAction->setCheckable(!Utils::HostOsInfo::isMacHost());
|
||||||
updateFullScreenAction();
|
updateFullScreenAction();
|
||||||
|
Reference in New Issue
Block a user