From f4ea92d1fc07b5a407954e97bd26248d7b45a8ab Mon Sep 17 00:00:00 2001 From: 3djc Date: Thu, 28 Sep 2017 11:25:09 +0200 Subject: [PATCH] move to https (#5247) --- companion/src/firmwares/opentx/opentxinterface.cpp | 4 ++-- companion/src/fwpreferencesdialog.cpp | 6 ++---- companion/src/mainwindow.cpp | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index 16c5a462d..6cc42869c 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -30,8 +30,8 @@ using namespace Board; -#define OPENTX_FIRMWARE_DOWNLOADS "http://downloads-22.open-tx.org/firmware" -#define OPENTX_NIGHT_FIRMWARE_DOWNLOADS "http://downloads-22.open-tx.org/nightlies/firmware" +#define OPENTX_FIRMWARE_DOWNLOADS "https://downloads-22.open-tx.org/firmware" +#define OPENTX_NIGHT_FIRMWARE_DOWNLOADS "https://downloads-22.open-tx.org/nightlies/firmware" #define FILE_TYP_GENERAL 1 #define FILE_TYP_MODEL 2 diff --git a/companion/src/fwpreferencesdialog.cpp b/companion/src/fwpreferencesdialog.cpp index 7c5d9184c..945b086fd 100644 --- a/companion/src/fwpreferencesdialog.cpp +++ b/companion/src/fwpreferencesdialog.cpp @@ -27,8 +27,8 @@ #include #include -#define OPENTX_SDCARD_DOWNLOADS "http://downloads.open-tx.org/2.2/sdcard/" -#define OPENTX_NIGHT_SDCARD_DOWNLOADS "http://downloads.open-tx.org/2.2/nightlies/sdcard/" +#define OPENTX_SDCARD_DOWNLOADS "https://downloads.open-tx.org/2.2/sdcard/" +#define OPENTX_NIGHT_SDCARD_DOWNLOADS "https://downloads.open-tx.org/2.2/nightlies/sdcard/" FirmwarePreferencesDialog::FirmwarePreferencesDialog(QWidget *parent) : QDialog(parent), @@ -78,5 +78,3 @@ void FirmwarePreferencesDialog::on_sd_dnld_clicked() } QDesktopServices::openUrl(url); } - - diff --git a/companion/src/mainwindow.cpp b/companion/src/mainwindow.cpp index 319b8db03..9e5cc91f2 100644 --- a/companion/src/mainwindow.cpp +++ b/companion/src/mainwindow.cpp @@ -54,7 +54,7 @@ #include #define OPENTX_DOWNLOADS_PAGE_URL "http://www.open-tx.org/downloads" -#define OPENTX_COMPANION_DOWNLOADS "http://downloads-22.open-tx.org/companion" +#define OPENTX_COMPANION_DOWNLOADS "https://downloads-22.open-tx.org/companion" #define DONATE_STR "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QUZ48K4SEXDP2" #ifdef __APPLE__