| 59 | } |
| 60 | |
| 61 | void frmProgress::enqueueFile(const QString &filePath) { |
| 62 | static QMutex locker; |
| 63 | locker.lock(); |
| 64 | if (QFile::exists(filePath)) { |
| 65 | getThread.queue << filePath; |
| 66 | updateProgress(-1, getThread.queue.size(), -1); |
| 67 | } |
| 68 | locker.unlock(); |
| 69 | } |
| 70 | |
| 71 | void frmProgress::enqueueFiles(const QStringList &fileList) { |
| 72 | for (int i = 0; i < fileList.size(); i++) { |
nothing calls this directly
no outgoing calls
no test coverage detected