Re: QFileSystemWatcher bug?
Maybe you could handle the progress value differently.
For example if you could precalculate the final file size, you could use the current size to calculate how far you have progressed.
Cheers,
_
Re: QFileSystemWatcher bug?
Quote:
Originally Posted by
anda_skoa
Maybe you could handle the progress value differently.
For example if you could precalculate the final file size, you could use the current size to calculate how far you have progressed.
Cheers,
_
Do you mean to use QFile bytesWritten signal?
Re: QFileSystemWatcher bug?
QFileInfo::size()
Cheers,
_
Re: QFileSystemWatcher bug?
Quote:
Originally Posted by
anda_skoa
QFileInfo::size()
Cheers,
_
Realisation with QTimer timeout signal, where every 1msec compares QFileInfo::lastModified() with file previos lastModified date (cause i can precisely know how many times file has been changed, but not the size) to show ext. app. progress perfectly works! Thank you for the idea! :)
But anyway that strange QFileSystemWatcher behaviour...