----------------------------------------------------------------------------
| 471 | } |
| 472 | //---------------------------------------------------------------------------- |
| 473 | void HotKeyConfSetDialog_t::cleanButtonCB(void) |
| 474 | { |
| 475 | std::string prefix = "SDL.Hotkeys."; |
| 476 | std::string confName; |
| 477 | |
| 478 | confName = prefix + Hotkeys[item->hkIdx].getConfigName(); |
| 479 | |
| 480 | g_config->setOption( confName, ""); |
| 481 | |
| 482 | setHotKeys(); |
| 483 | |
| 484 | if ( item ) |
| 485 | { |
| 486 | item->setText(1, tr("")); |
| 487 | } |
| 488 | |
| 489 | done(0); |
| 490 | deleteLater(); |
| 491 | } |
| 492 | //---------------------------------------------------------------------------- |
| 493 | void HotKeyConfSetDialog_t::okButtonCB(void) |
| 494 | { |
nothing calls this directly
no test coverage detected