| 132 | } |
| 133 | |
| 134 | void InputWindow::updateHotkeyRow(int row) |
| 135 | { |
| 136 | /* Check if a key is mapped to this hotkey */ |
| 137 | for (auto itermap : context->config.km->hotkey_mapping) { |
| 138 | if (itermap.second == context->config.km->hotkey_list[row]) { |
| 139 | /* Build the key string with modifiers */ |
| 140 | keysym_t ks = itermap.first; |
| 141 | QString str = context->config.km->input_description_mod(ks).c_str(); |
| 142 | hotkeyTable->item(row, 1)->setText(str); |
| 143 | return; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | hotkeyTable->item(row, 1)->setText(""); |
| 148 | } |
| 149 | |
| 150 | void InputWindow::updateInputRow(int tab, int row) |
| 151 | { |
nothing calls this directly
no test coverage detected