1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Fixes #2658: real fix

This commit is contained in:
Damjan Adamic 2015-08-06 22:08:04 +02:00
parent c7a07ded12
commit 572cfd67af

View file

@ -461,8 +461,8 @@ void MainWindow::checkForFirmwareUpdateFinished(QNetworkReply * reply)
msgBox.resize(0,0); msgBox.resize(0,0);
msgBox.exec(); msgBox.exec();
if( msgBox.clickedButton() == rnButton ) { if( msgBox.clickedButton() == rnButton ) {
ContributorsDialog *cd = new ReleaseNotesFirmwareDialog(this, rn); ReleaseNotesFirmwareDialog * dialog = new ReleaseNotesFirmwareDialog(this, rn);
cd->exec(); dialog->exec();
int ret2 = QMessageBox::question(this, "Companion", tr("Do you want to download release %1 now ?").arg(versionString), int ret2 = QMessageBox::question(this, "Companion", tr("Do you want to download release %1 now ?").arg(versionString),
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret2 == QMessageBox::Yes) { if (ret2 == QMessageBox::Yes) {