| 174 | } |
| 175 | |
| 176 | void 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 | |
| 186 | void LemonLime::refreshSummary() { |
| 187 | if (! ui->summary->isEnabled()) |
nothing calls this directly
no outgoing calls
no test coverage detected