Skip to content

Commit

Permalink
fixup! KeyboardEventFilter: move menubar toggle connection to WMainMe…
Browse files Browse the repository at this point in the history
…nubar
  • Loading branch information
ronso0 committed Oct 13, 2024
1 parent 19b4434 commit e3212d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/widget/wmainmenubar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,10 @@ void WMainMenuBar::initialize() {
pOptionsKeyboard->setChecked(keyboardShortcutsEnabled);
pOptionsKeyboard->setStatusTip(keyboardShortcutText);
pOptionsKeyboard->setWhatsThis(buildWhatsThis(keyboardShortcutTitle, keyboardShortcutText));
connect(pOptionsKeyboard, &QAction::triggered, m_pKeyboard, &KeyboardEventFilter::setEnabled);
connect(pOptionsKeyboard,
&QAction::triggered,
m_pKeyboard.get(),
&KeyboardEventFilter::setEnabled);

pOptionsMenu->addAction(pOptionsKeyboard);

Expand Down

0 comments on commit e3212d9

Please sign in to comment.