OSTC firmware update prompt: use the stable changelog files

Heinrichs Weikamp is giving us stable URLs from which we can get the
latest stable version. The parsing is a bit simplistic, but it seems to
work.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-12-28 07:37:11 -08:00
parent 542ff7fc36
commit 0be0cdb046
3 changed files with 18 additions and 9 deletions

View file

@ -304,8 +304,9 @@ void DownloadFromDCWidget::on_ok_clicked()
thread->start();
if (ui.product->currentText() == "OSTC 3" || ui.product->currentText() == "OSTC sport")
ostcFirmwareCheck = new OstcFirmwareCheck();
QString product(ui.product->currentText());
if (product == "OSTC 3" || product == "OSTC Sport")
ostcFirmwareCheck = new OstcFirmwareCheck(product);
}
bool DownloadFromDCWidget::preferDownloaded()