| 140 | } |
| 141 | |
| 142 | void FontExtractionThread::startExtraction(bool async) |
| 143 | { |
| 144 | if (async) { |
| 145 | connect(this, &FontExtractionThread::finished, this, &FontExtractionThread::deleteLater); |
| 146 | start(QThread::InheritPriority); |
| 147 | } else { |
| 148 | run(); |
| 149 | deleteLater(); |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | void FontExtractionThread::stopExtraction() |
| 154 | { |