| 53 | } |
| 54 | |
| 55 | void HotkeyWidget::showError() |
| 56 | { |
| 57 | if (mShowingError) { |
| 58 | return; |
| 59 | } |
| 60 | |
| 61 | mShowingError = true; |
| 62 | |
| 63 | setStyleSheet(mDefaultStyleSheet + "color: #d90000;"); |
| 64 | QTimer::singleShot(1000, this, &HotkeyWidget::hideError); |
| 65 | } |
| 66 | |
| 67 | void HotkeyWidget::setHotkeyText() |
| 68 | { |
nothing calls this directly
no outgoing calls
no test coverage detected