| 65 | } |
| 66 | |
| 67 | void HotkeyWidget::setHotkeyText() |
| 68 | { |
| 69 | QString hotkeyText = mHotkey.toString(QKeySequence::NativeText); |
| 70 | |
| 71 | setText(hotkeyText); |
| 72 | parentWidget()->setFocus(); |
| 73 | } |
| 74 | |
| 75 | bool HotkeyWidget::event(QEvent *event) |
| 76 | { |
nothing calls this directly
no outgoing calls
no test coverage detected