hi friends,
i was using QFileSystemWatcher and used

Qt Code:
  1. connect(theFileWatcher,SIGNAL(fileChanged(QString)),this,SLOT(updateGallery()),Qt::QueuedConnection);
  2. connect(theFileWatcher,SIGNAL(directoryChanged(QString)),this,SLOT(updateGallery()),Qt::QueuedConnection);
To copy to clipboard, switch view to plain text mode 

now the updateGallery() is been called only if i remove any file from the directory and not when i added any files to the directory ..

this was working earlier fine but it happened suddenly. did anyone faced this problem before ..?
im running itin windows 7

please help me ..