| 145 | } |
| 146 | |
| 147 | bool HotkeyWidget::isModifier(int key) const |
| 148 | { |
| 149 | switch (key) { |
| 150 | case Qt::Key_Shift: |
| 151 | case Qt::Key_Control: |
| 152 | case Qt::Key_Meta: |
| 153 | case Qt::Key_Alt: |
| 154 | case Qt::Key_AltGr: |
| 155 | case Qt::Key_Super_L: |
| 156 | case Qt::Key_Super_R: |
| 157 | case Qt::Key_Menu: |
| 158 | return true; |
| 159 | } |
| 160 | |
| 161 | return false; |
| 162 | } |
nothing calls this directly
no outgoing calls
no test coverage detected