Fixes #2658: Companion release notes before/after new version download broken

This commit is contained in:
Damjan Adamic
2015-08-06 22:01:05 +02:00
parent fce1cc681a
commit 4e7181fb7e
+1 -1
View File
@@ -461,7 +461,7 @@ void MainWindow::checkForFirmwareUpdateFinished(QNetworkReply * reply)
msgBox.resize(0,0);
msgBox.exec();
if( msgBox.clickedButton() == rnButton ) {
ContributorsDialog *cd = new ContributorsDialog(this); // , 2, rn);
ContributorsDialog *cd = new ReleaseNotesFirmwareDialog(this, rn);
cd->exec();
int ret2 = QMessageBox::question(this, "Companion", tr("Do you want to download release %1 now ?").arg(versionString),
QMessageBox::Yes | QMessageBox::No);