MCPcopy Create free account
hub / github.com/codestation/qcma / process

Method process

common/database.cpp:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void Database::process()
60{
61 qDebug("Starting database_thread: 0x%016" PRIxPTR, (uintptr_t)QThread::currentThreadId());
62 clear();
63 cancel_operation = false;
64 int count = create();
65 cancel_operation = false;
66 QTextStream(stdout) << "Total entries added to the database: " << count << Qt::endl;
67 if(count < 0) {
68 clear();
69 }
70 emit updated(count);
71 mutex.unlock();
72}
73
74void Database::cancelOperation()
75{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected