diff --git a/CHANGES b/CHANGES index c962d140e..d2016ffae 100644 --- a/CHANGES +++ b/CHANGES @@ -74,6 +74,7 @@ Misc: - All: Threads are now named - Qt: Rename "Fullscreen" to "Toggle fullscreen" - Qt: Don't save window size when entering fullscreen + - Qt: Make the default fullscreen binding for Windows be Alt-Enter 0.2.1: (2015-05-13) Bugfixes: diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index 536e7f4ac..c533c786e 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -826,7 +826,13 @@ void Window::setupMenu(QMenuBar* menubar) { }); addControlledAction(frameMenu, setSize, QString("frame%1x").arg(QString::number(i))); } - addControlledAction(frameMenu, frameMenu->addAction(tr("Toggle fullscreen"), this, SLOT(toggleFullScreen()), QKeySequence("Ctrl+F")), "fullscreen"); + QKeySequence fullscreenKeys; +#ifdef Q_OS_WIN + fullscreenKeys = QKeySequence("Alt+Enter"); +#else + fullscreenKeys = QKeySequence("Ctrl+F"); +#endif + addControlledAction(frameMenu, frameMenu->addAction(tr("Toggle fullscreen"), this, SLOT(toggleFullScreen()), fullscreenKeys), "fullscreen"); ConfigOption* lockAspectRatio = m_config->addOption("lockAspectRatio"); lockAspectRatio->addBoolean(tr("Lock aspect ratio"), avMenu);