MCPcopy Create free account
hub / github.com/QNapi/qnapi / enqueueFile

Method enqueueFile

gui/src/forms/frmprogress.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void 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
71void frmProgress::enqueueFiles(const QStringList &fileList) {
72 for (int i = 0; i < fileList.size(); i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected