Situation is as fallow:
1. QFileSystemWatcher addPath( "some file path" ) addPath( "some directory path" )
2. file is edited signal is emited
3. in slot, connected to the signal, QFileSystemWatcher clears file list (not directory list)

qDebgu() output in slots

Qt Code:
  1. Adding path to QFileSystemWatcher files: ("/home/userName/test.txt") directories: ("/home/userName/")
  2.  
  3. qDebug() for QFileSystemWatcher::files() and directories()
  4.  
  5. in slot directoryChangedSlot(QString dir) files(): ("/home/userName/test.txt") directories: ("/home/userName/")
  6. in slot fileChangedSlot(QString file) files(): () directories: ("/home/userName/")
  7. in slot directoryChangedSlot(QString dir) files(): () directories: ("/home/userName/")
To copy to clipboard, switch view to plain text mode 

QFileSystemWatcher clears files() list after emits signal fileChanged(QString), but don't remove directories!
And ofcourse I don't use anywhere removePath()! test app uses only qDebug() and adPath().
Question is why?

Compiled with Qt 4.8.0 RC.