mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-27 15:50:40 +02:00
* To emulate QNetworkReply's behaviour, we need to emit finished() after an error occured.
This commit is contained in:
@@ -73,7 +73,10 @@ void
|
||||
NetworkReply::networkLoadFinished()
|
||||
{
|
||||
if ( m_reply->error() != QNetworkReply::NoError )
|
||||
{
|
||||
emit finished();
|
||||
return;
|
||||
}
|
||||
|
||||
QVariant redir = m_reply->attribute( QNetworkRequest::RedirectionTargetAttribute );
|
||||
if ( redir.isValid() && !redir.toUrl().isEmpty() )
|
||||
|
Reference in New Issue
Block a user