Dear Friends I am using QFileSystemWatcher for knowing when the file is modified from outside my application. I am seeing even if the file is modified from the application this is giving message that the file is modified. Can anyone tell whats going wrong in this..see the snippet below
[code] QFile file("/home/sdh/projects/opt.cfg"); watcher = new QFileSystemWatcher(this); connect(watcher,SIGNAL(fileChanged(const QString &)),this, SLOT(cfgFileModified(const QString &))); watcher->addPath(file.fileName()); [\code] Please tell me whats going wrong. I am modifying the file from my application then also its giving message. Thanks for any help. Thanks Sujan Kind regards, Sujan Dasmahapatra Project Leader, Aero Group CE - Aero Group Tel +91 80 66470248 Mob s...@lmwindpower.com <mailto:%25EMAIL%25> LM Wind Power Blades lmwindpower.com Together we capture the wind to power a cleaner world ________________________________ This e-mail and any attachments are confidential. If you are not the named or intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Any unauthorized disclosure, use or storage is prohibited and might be unlawful.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest