MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / reset

Method reset

watcher/filewatchermanager.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32
33void FileWatcherManager::reset() {
34 for (int i=importDelete.size()-1; i>=0; i--) {
35 FileWatcher *fw = importDelete.takeAt(i);
36 delete fw;
37 }
38 for (int i=importKeep.size()-1; i>=0; i--) {
39 FileWatcher *fw = importKeep.takeAt(i);
40 delete fw;
41 }
42}
43
44void FileWatcherManager::signalImported(qint32 noteLid, qint32 resourceLid) {
45 emit fileImported(noteLid, resourceLid);

Callers 1

setupMethod · 0.95

Calls 1

takeAtMethod · 0.80

Tested by

no test coverage detected