MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / resetDataWatcher

Method resetDataWatcher

src/lemon.cpp:176–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void LemonLime::resetDataWatcher() {
177 delete dataDirWatcher;
178 dataDirWatcher = new QFileSystemWatcher(this);
179 insertWatchPath(Settings::dataPath(), dataDirWatcher);
180 connect(dataDirWatcher, &QFileSystemWatcher::directoryChanged, this, &LemonLime::resetDataWatcher);
181 connect(dataDirWatcher, &QFileSystemWatcher::fileChanged, this, &LemonLime::dataPathChanged);
182 connect(dataDirWatcher, &QFileSystemWatcher::directoryChanged, this, &LemonLime::dataPathChanged);
183 emit dataPathChanged();
184}
185
186void LemonLime::refreshSummary() {
187 if (! ui->summary->isEnabled())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected