diff options
| author | Shawn Rutledge <[email protected]> | 2025-04-10 22:14:46 +0200 |
|---|---|---|
| committer | Shawn Rutledge <[email protected]> | 2025-04-16 21:12:56 +0000 |
| commit | 30fd101b558112b8829d3ae63b58e8504bbe9297 (patch) | |
| tree | e7b049220025e571f4195c469b05e85ae8d7272d | |
| parent | 54865833c537aedd92c8508767f313255086609a (diff) | |
Make F11 the fullscreen keyboard shortcut on Gnome (as on KDE & Windows)
This seems to agree with current Gnome documentation.
[ChangeLog][Platform Specific Changes][Linux] The fullscreen keyboard
shortcut is now F11 on Gnome, not Ctrl-F11.
Pick-to: 6.9 6.8 6.5
Fixes: QTBUG-135854
Change-Id: I8ee0bd34152ce8ef112fd3226d17adc89f2a408e
Reviewed-by: Axel Spoerl <[email protected]>
Reviewed-by: Liang Qi <[email protected]>
| -rw-r--r-- | src/gui/kernel/qplatformtheme.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/kernel/qplatformtheme.cpp b/src/gui/kernel/qplatformtheme.cpp index 6f840916448..d9584a202e0 100644 --- a/src/gui/kernel/qplatformtheme.cpp +++ b/src/gui/kernel/qplatformtheme.cpp @@ -356,8 +356,7 @@ const QKeyBinding QPlatformThemePrivate::keyBindings[] = { {QKeySequence::FullScreen, 1, Qt::META | Qt::CTRL | Qt::Key_F, KB_Mac}, {QKeySequence::FullScreen, 0, Qt::ALT | Qt::Key_Enter, KB_Win}, {QKeySequence::FullScreen, 0, Qt::CTRL | Qt::SHIFT | Qt::Key_F, KB_KDE}, - {QKeySequence::FullScreen, 1, Qt::CTRL | Qt::Key_F11, KB_Gnome}, - {QKeySequence::FullScreen, 1, Qt::Key_F11, KB_Win | KB_KDE}, + {QKeySequence::FullScreen, 1, Qt::Key_F11, KB_Win | KB_Gnome | KB_KDE}, {QKeySequence::Deselect, 0, Qt::CTRL | Qt::SHIFT | Qt::Key_A, KB_X11}, {QKeySequence::DeleteCompleteLine, 0, Qt::CTRL | Qt::Key_U, KB_X11}, {QKeySequence::Backspace, 1, Qt::Key_Backspace, KB_Mac}, |
