PDA

View Full Version : QWebView page loading fails after file downloading



mentalmushroom
18th August 2011, 09:40
Hi there! When I download something with QWebView I receive loadingFinished signal with ok = false. I suppose, QWebView treats unsupported content as a page and it causes an error. How can I get rid of that signal?

I start downloading when unsupportedContent(QNetworkReply*) signal is emitted and read the data when QNetworkReply::finished is emitted.

mentalmushroom
18th August 2011, 14:57
Strange, is that an uncommon task to download files from QWebView? I only need to download something and don't tell a user that browser failed to load a web page.