]> git.mxchange.org Git - flightgear.git/commitdiff
For stable versions, download data tarball directly
authorJames Turner <zakalawe@mac.com>
Fri, 17 Jun 2016 21:48:24 +0000 (22:48 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:37 +0000 (23:27 +0200)
Part of https://sourceforge.net/p/flightgear/codetickets/1865/

src/GUI/SetupRootDialog.cxx

index 027418e50992a3c10f0e6d487aca589b1500dcef..c0db3580425f14f8603090e33203682dcff24a24 100644 (file)
@@ -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);
 }