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:
Eike Ziller
2014-07-17 13:04:16 +02:00
parent 883545a03d
commit b9063569db

View File

@@ -654,7 +654,7 @@ void MainWindow::registerDefaultActions()
}
// Full Screen Action
m_toggleFullScreenAction = new QAction(this);
m_toggleFullScreenAction = new QAction(tr("Full Screen"), this);
m_toggleFullScreenAction->setMenuRole(QAction::NoRole);
m_toggleFullScreenAction->setCheckable(!Utils::HostOsInfo::isMacHost());
updateFullScreenAction();