| 976 | } |
| 977 | |
| 978 | void QMappingSequenceEdit::on_insertMappingKeyButton_clicked() |
| 979 | { |
| 980 | const int currentMode = QKeyMapper::getTableInsertModeIndex(); |
| 981 | const int insertMode = (QApplication::keyboardModifiers() & Qt::ShiftModifier) |
| 982 | ? getOppositeTableInsertMode(currentMode) |
| 983 | : currentMode; |
| 984 | insertMappingKeyToTable(insertMode); |
| 985 | } |
| 986 | |
| 987 | void QMappingSequenceEdit::on_confirmButton_clicked() |
| 988 | { |
nothing calls this directly
no test coverage detected