MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / resetSelected

Method resetSelected

src/gui/ShortcutDialog.cpp:259–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void ShortcutDialog::resetSelected()
260{
261 Qt::Key key = m_keyboardMap->selectedKey();
262 if (key == Qt::Key_unknown) return;
263 const auto* act = m_mgr->actionForKey(QKeySequence(key));
264 if (act) {
265 m_mgr->setBinding(act->id, act->defaultKey);
266 populateTable(m_filterEdit->text(), m_categoryFilter->currentText());
267 updateSelectedKeyInfo();
268 }
269}
270
271void ShortcutDialog::updateSelectedKeyInfo()
272{

Callers

nothing calls this directly

Calls 4

selectedKeyMethod · 0.80
actionForKeyMethod · 0.80
setBindingMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected