更新 'src/GUI/SetupRootDialog.cxx'
This commit is contained in:
parent
99852ed4f5
commit
31e2ba9d90
@ -221,7 +221,9 @@ void SetupRootDialog::onBrowse()
|
||||
|
||||
void SetupRootDialog::onDownload()
|
||||
{
|
||||
QString templateUrl = "https://sourceforge.net/projects/flightgear/files/release-%1/FlightGear-%2-data.txz";
|
||||
//QString templateUrl = "https://sourceforge.net/projects/flightgear/files/release-%1/FlightGear-%2-data.txz";
|
||||
//zhongjin fgdata 下载
|
||||
QString templateUrl = "https://git-x.kongjian.xin/FGFS-4.1/fgdata/archive/next.tar.gz";
|
||||
QString majorMinorVersion = QString("%1.%2").arg(FLIGHTGEAR_MAJOR_VERSION).arg(FLIGHTGEAR_MINOR_VERSION);
|
||||
QUrl downloadUrl(templateUrl.arg(majorMinorVersion).arg(VERSION));
|
||||
QDesktopServices::openUrl(downloadUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user