Fixes #2658: Companion release notes before/after new version download broken
This commit is contained in:
@@ -461,7 +461,7 @@ 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 ContributorsDialog(this); // , 2, rn);
|
ContributorsDialog *cd = new ReleaseNotesFirmwareDialog(this, rn);
|
||||||
cd->exec();
|
cd->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);
|
||||||
|
|||||||
Reference in New Issue
Block a user