
void QHttpHash::slotFinished()
{
    QVariant redirectionTarget = reply->attribute(QNetworkRequest::RedirectionTargetAttribute);
    if (reply->error()) {
        reset();
    } else if (! redirectionTarget.isNull()) {
        qDebug() << "Redirect?";
        QUrl newUrl = url.resolved(redirectionTarget.toUrl());
        url = newUrl;

        reset();
        download();
        return;
    }