| 139 | } |
| 140 | |
| 141 | void LightscreenWindow::action(int mode) |
| 142 | { |
| 143 | if (mode <= Screenshot::SelectedWindow) { |
| 144 | screenshotAction((Screenshot::Mode)mode); |
| 145 | } else if (mode == ShowMainWindow) { |
| 146 | show(); |
| 147 | } else if (mode == OpenScreenshotFolder) { |
| 148 | goToFolder(); |
| 149 | } else { |
| 150 | qWarning() << "Unknown hotkey ID: " << mode; |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | void LightscreenWindow::areaHotkey() |
| 155 | { |
nothing calls this directly
no outgoing calls
no test coverage detected