| 189 | } |
| 190 | |
| 191 | void ScreenshotManager::take(Screenshot::Options &options) |
| 192 | { |
| 193 | Screenshot *newScreenshot = new Screenshot(this, options); |
| 194 | mScreenshots.append(newScreenshot); |
| 195 | |
| 196 | connect(newScreenshot, &Screenshot::askConfirmation, this, &ScreenshotManager::askConfirmation); |
| 197 | connect(newScreenshot, &Screenshot::cleanup , this, &ScreenshotManager::cleanup); |
| 198 | connect(newScreenshot, &Screenshot::finished , this, &ScreenshotManager::finished); |
| 199 | |
| 200 | newScreenshot->take(); |
| 201 | } |
| 202 | |
| 203 | void ScreenshotManager::uploadDone(const QString &fileName, const QString &url, const QString &deleteHash) |
| 204 | { |
nothing calls this directly
no outgoing calls
no test coverage detected