Some enhancements/bug fixes for package manager

This commit is contained in:
Matthias Koefferlein
2017-09-27 00:16:43 +02:00
parent 9eddeabef2
commit 7e7a5ce030
4 changed files with 83 additions and 52 deletions
+2 -2
View File
@@ -189,9 +189,9 @@ InputHttpStream::read (char *b, size_t n)
issue_request (QUrl (tl::to_qstring (m_url)));
}
// @@@ TODO: progress, timeout
// TODO: progress, timeout
while (mp_reply == 0) {
QCoreApplication::processEvents (QEventLoop::ExcludeUserInputEvents | QEventLoop::WaitForMoreEvents, 100);
QCoreApplication::processEvents (QEventLoop::ExcludeUserInputEvents);
}
if (mp_reply->error () != QNetworkReply::NoError) {