MCPcopy Create free account
hub / github.com/alpha-liu-01/SpeedyNote / switchToKeyboardShortcutsTab

Method switchToKeyboardShortcutsTab

source/ControlPanelDialog.cpp:210–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void ControlPanelDialog::switchToKeyboardShortcutsTab()
211{
212 // Find the "Shortcuts" tab and switch to it
213 for (int i = 0; i < tabWidget->count(); ++i) {
214 if (tabWidget->tabText(i) == tr("Shortcuts")) {
215 tabWidget->setCurrentIndex(i);
216 return;
217 }
218 }
219}
220
221void ControlPanelDialog::done(int result)
222{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected