mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-21 02:51:26 -04:00
Merge pull request #1080 from kiwix/fullscreen_keysequence_fix
Fixed the fullscreen keyboard shortcut
This commit is contained in:
commit
ccccc80dfe
@ -446,8 +446,8 @@ void KiwixApp::createActions()
|
||||
this, [=]() { getTabWidget()->openFindInPageBar(); });
|
||||
|
||||
const auto fullScreenKeySeq = QKeySequence(QKeySequence::FullScreen).isEmpty()
|
||||
? (int) Qt::Key_F11
|
||||
: (int) QKeySequence::FullScreen;
|
||||
? QKeySequence(Qt::Key_F11)
|
||||
: QKeySequence(QKeySequence::FullScreen);
|
||||
CREATE_ACTION_ICON_SHORTCUT(ToggleFullscreenAction, "full-screen-enter", gt("set-fullscreen"), fullScreenKeySeq);
|
||||
connect(mpa_actions[ToggleFullscreenAction], &QAction::toggled,
|
||||
this, [=](bool checked) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user