Use website for release notes
This commit is contained in:
@@ -863,16 +863,8 @@ void MainWindow::sdsync()
|
|||||||
|
|
||||||
void MainWindow::changelog()
|
void MainWindow::changelog()
|
||||||
{
|
{
|
||||||
Firmware * firmware = getCurrentFirmware();
|
QString link = "http://www.open-tx.org";
|
||||||
QString url = firmware->getReleaseNotesUrl();
|
QDesktopServices::openUrl(QUrl(link));
|
||||||
if (url.isEmpty()) {
|
|
||||||
QMessageBox::information(this, tr("Release notes"), tr("Cannot retrieve release notes from the server."));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
ReleaseNotesFirmwareDialog * dialog = new ReleaseNotesFirmwareDialog(this, url);
|
|
||||||
dialog->exec();
|
|
||||||
dialog->deleteLater();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::customizeSplash()
|
void MainWindow::customizeSplash()
|
||||||
|
|||||||
Reference in New Issue
Block a user