From a7e1054a086dc7de9dd17eecaef923cd793ecdbc Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 17 Jun 2016 22:48:24 +0100 Subject: [PATCH] For stable versions, download data tarball directly Part of https://sourceforge.net/p/flightgear/codetickets/1865/ --- src/GUI/SetupRootDialog.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GUI/SetupRootDialog.cxx b/src/GUI/SetupRootDialog.cxx index 027418e50..c0db35804 100644 --- a/src/GUI/SetupRootDialog.cxx +++ b/src/GUI/SetupRootDialog.cxx @@ -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); } -- 2.39.5