| 332 | } |
| 333 | |
| 334 | void Screenshot::upload() |
| 335 | { |
| 336 | if (mOptions.file) { |
| 337 | Uploader::instance()->upload(mOptions.fileName, mOptions.uploadService); |
| 338 | } else if (unloadPixmap()) { |
| 339 | Uploader::instance()->upload(mUnloadFilename, mOptions.uploadService); |
| 340 | } else { |
| 341 | emit finished(); |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | void Screenshot::uploadDone(const QString &url) |
| 346 | { |
nothing calls this directly
no outgoing calls
no test coverage detected