| 48 | #endif |
| 49 | |
| 50 | Screenshot::Screenshot(QObject *parent, Screenshot::Options options): |
| 51 | QObject(parent), |
| 52 | mOptions(options), |
| 53 | mPixmapDelay(false), |
| 54 | mUnloaded(false), |
| 55 | mUnloadFilename() |
| 56 | { |
| 57 | if (mOptions.format == Screenshot::PNG) { |
| 58 | mOptions.quality = 80; |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | Screenshot::~Screenshot() |
| 63 | { |
nothing calls this directly
no outgoing calls
no test coverage detected