| 52 | // ============================================================================ |
| 53 | |
| 54 | void DebugOverlay::toggle() |
| 55 | { |
| 56 | if (isVisible()) { |
| 57 | hide(); |
| 58 | } else { |
| 59 | show(); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | void DebugOverlay::showEvent(QShowEvent* event) |
| 64 | { |
no test coverage detected