[Interest] File change signal is emitted multiple times in QFileSystemWatcher on Mountain Lion (Qt 4.8.2)
norulez at me.com
norulez at me.com
Mon Jul 30 21:04:18 CEST 2012
Hello,
I noticed that QFileSystemWatcher is emitting the fileChanged() signal between 3 and 4 times.
Is this behavior wanted or is this a bug? Does anyone else has this behavior too?
How can i avoid multiple signals if this behavior is wanted?
How to reproduce:
1.) Create a file ("touch HelloWorld.txt")
2.) Open a file ("HelloWorld.txt")
3.) Modify the file ("echo "Hello World" >> HelloWorld.txt")
4.) The fileChanged() signal is received multiple times
System: Qt 4.8.2
OS X Mountain Lion
Does anyone know when Mountain Lion is supported? Qt 4.8.3? Qt 5.0?
Thanks in advance
Best Regards
NoRulez
More information about the Interest
mailing list