Lines 278-284
Link Here
|
278 |
// Disable file watch for OS X and Windows and hope for future |
278 |
// Disable file watch for OS X and Windows and hope for future |
279 |
// improvement (possibly with the improvements planned for |
279 |
// improvement (possibly with the improvements planned for |
280 |
// QFileSystemWatcher in Qt 5.1) |
280 |
// QFileSystemWatcher in Qt 5.1) |
281 |
#if defined(Q_WS_MAC) || defined(Q_WS_WIN) |
281 |
#if defined(Q_WS_MAC) || defined(Q_WS_WIN) || defined(__FreeBSD__) |
282 |
d->dirWatch->addDir(dir, KDirWatch::WatchDirOnly); |
282 |
d->dirWatch->addDir(dir, KDirWatch::WatchDirOnly); |
283 |
#else |
283 |
#else |
284 |
d->dirWatch->addDir(dir, KDirWatch::WatchFiles | KDirWatch::WatchDirOnly); |
284 |
d->dirWatch->addDir(dir, KDirWatch::WatchFiles | KDirWatch::WatchDirOnly); |