| 65 | } |
| 66 | |
| 67 | void HotkeyLineEdit::focusOutEvent(QFocusEvent* event) |
| 68 | { |
| 69 | // 失去焦点时取消监听 |
| 70 | releaseKeyboard(); |
| 71 | QLineEdit::focusOutEvent(event); |
| 72 | } |
| 73 | |
| 74 | void HotkeyLineEdit::keyPressEvent(QKeyEvent* event) |
| 75 | { |
nothing calls this directly
no outgoing calls
no test coverage detected