diff --git a/src/file/filewatch.cpp b/src/file/filewatch.cpp --- a/src/file/filewatch.cpp +++ b/src/file/filewatch.cpp @@ -100,7 +100,7 @@ | KInotify::EventCloseWrite | KInotify::EventCreate | KInotify::EventAttributeChange | KInotify::EventModify); - m_dirWatch->addWatch(path, flags, KInotify::WatchFlags()); + m_dirWatch->addWatch(path, flags, KInotify::FlagOnlyDir); } }