For stable versions, download data tarball directly
Part of https://sourceforge.net/p/flightgear/codetickets/1865/
This commit is contained in:
parent
1d912c91df
commit
6f95e61da8
1 changed files with 2 additions and 1 deletions
|
@ -193,7 +193,8 @@ void SetupRootDialog::onBrowse()
|
|||
|
||||
void SetupRootDialog::onDownload()
|
||||
{
|
||||
QUrl downloadUrl("http://download.flightgear.org/flightgear/Shared/");
|
||||
QString templateUrl = "https://sourceforge.net/projects/flightgear/files/release-%1/FlightGear-%1-data.tar.bz2";
|
||||
QUrl downloadUrl(templateUrl.arg(VERSION));
|
||||
QDesktopServices::openUrl(downloadUrl);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue