1
0
Fork 0

Update file extension for FGData

This commit is contained in:
James Turner 2021-06-13 19:41:16 +01:00
parent c8d5296f7b
commit fa50fe60cd

View file

@ -221,7 +221,7 @@ void SetupRootDialog::onBrowse()
void SetupRootDialog::onDownload() void SetupRootDialog::onDownload()
{ {
QString templateUrl = "https://sourceforge.net/projects/flightgear/files/release-%1/FlightGear-%2-data.tar.bz2"; QString templateUrl = "https://sourceforge.net/projects/flightgear/files/release-%1/FlightGear-%2-data.txz";
QString majorMinorVersion = QString("%1.%2").arg(FLIGHTGEAR_MAJOR_VERSION).arg(FLIGHTGEAR_MINOR_VERSION); QString majorMinorVersion = QString("%1.%2").arg(FLIGHTGEAR_MAJOR_VERSION).arg(FLIGHTGEAR_MINOR_VERSION);
QUrl downloadUrl(templateUrl.arg(majorMinorVersion).arg(VERSION)); QUrl downloadUrl(templateUrl.arg(majorMinorVersion).arg(VERSION));
QDesktopServices::openUrl(downloadUrl); QDesktopServices::openUrl(downloadUrl);