| 201 | }; |
| 202 | |
| 203 | FileSystemWatcher::FileSystemWatcher() { |
| 204 | d = std::make_shared<PrivateData>(); |
| 205 | |
| 206 | d->eventsLoopTimer.setInterval(100); |
| 207 | connect(&d->eventsLoopTimer, &QTimer::timeout, this, &FileSystemWatcher::readEvents); |
| 208 | } |
| 209 | |
| 210 | FileSystemWatcher::FileSystemWatcher(const QDir& path) : FileSystemWatcher() { |
| 211 | updateWatchedDirectories(QDirSet{{path}}); |
nothing calls this directly
no outgoing calls
no test coverage detected