From 31e2ba9d90119df0f13a896db089f5fb05b62270 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sat, 3 Dec 2022 14:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/GUI/SetupRootDialog.c?= =?UTF-8?q?xx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/GUI/SetupRootDialog.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/GUI/SetupRootDialog.cxx b/src/GUI/SetupRootDialog.cxx index 7ee4a04..20629d9 100755 --- a/src/GUI/SetupRootDialog.cxx +++ b/src/GUI/SetupRootDialog.cxx @@ -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);