| 48 | } |
| 49 | |
| 50 | QString SubtitleDownloadEngine::generateTmpFileName() const { |
| 51 | static bool gen_inited; |
| 52 | if (!gen_inited) { |
| 53 | qsrand(time(0)); |
| 54 | gen_inited = true; |
| 55 | } |
| 56 | return QString("QNapi.%1.tmp").arg(qrand()); |
| 57 | } |
| 58 | |
| 59 | QString SubtitleDownloadEngine::generateTmpPath() const { |
| 60 | QString newTmpFilePath = |
nothing calls this directly
no outgoing calls
no test coverage detected