Skip to content
Permalink
Browse files

VersionCheck: use updated WebFetch::fetch() for snapshot downloads.

We forgot this user of WebFetch::fetch() when changing the signature
of the function to better accommodate the new service infrastructure.

On the old infrastructure, the snapshots used to be available at
http://mumble.info/snapshot/${fn}.

The version check service has now been updated to return URLs which
point to the new download service at https://dl.mumble.info/${fn}.
  • Loading branch information...
mkrautz committed Dec 30, 2015
1 parent e82debb commit 17ddc1a30fac08c15e16e7f7d13d1044c6abd2c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mumble/VersionCheck.cpp
@@ -187,7 +187,7 @@ void VersionCheck::fetched(QByteArray a, QUrl url) {
}
} else {
g.mw->msgBox(tr("Downloading new snapshot from %1 to %2").arg(Qt::escape(fetch.toString()), Qt::escape(filename)));
WebFetch::fetch(fetch, this, SLOT(fetched(QByteArray,QUrl)));
WebFetch::fetch(QLatin1String("dl"), fetch, this, SLOT(fetched(QByteArray,QUrl)));
return;
}
}

0 comments on commit 17ddc1a

Please sign in to comment.
You can’t perform that action at this time.