From: James Turner Date: Fri, 17 Jun 2016 21:48:24 +0000 (+0100) Subject: For stable versions, download data tarball directly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a7e1054a086dc7de9dd17eecaef923cd793ecdbc;p=flightgear.git For stable versions, download data tarball directly Part of https://sourceforge.net/p/flightgear/codetickets/1865/ --- 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); }