Update file extension for FGData
This commit is contained in:
parent
c8d5296f7b
commit
fa50fe60cd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue