How to modify the frequency of QNetworkReply::downloadProgress(..) signal ?
-
I've setup a progress to show downloaded info of a file(s)
void HTTP::showProgress(qint64 bytesReceived, qint64 bytesTotal) { qDebug() << ((static_cast<double>(bytesReceived)/bytesTotal)*100) << "%"; }
I've not found in the documentation where I can adjust its frequency ( how frequently this signal should be emitted )
-
It's hard-coded to 100ms in qnetworkreply.cpp.