From 572cfd67af3cd2cff59210b2c178fa8719a07ea8 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Thu, 6 Aug 2015 22:08:04 +0200 Subject: [PATCH] Fixes #2658: real fix --- companion/src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/companion/src/mainwindow.cpp b/companion/src/mainwindow.cpp index 7310401db..6f16a2b9f 100644 --- a/companion/src/mainwindow.cpp +++ b/companion/src/mainwindow.cpp @@ -461,8 +461,8 @@ void MainWindow::checkForFirmwareUpdateFinished(QNetworkReply * reply) msgBox.resize(0,0); msgBox.exec(); if( msgBox.clickedButton() == rnButton ) { - ContributorsDialog *cd = new ReleaseNotesFirmwareDialog(this, rn); - cd->exec(); + ReleaseNotesFirmwareDialog * dialog = new ReleaseNotesFirmwareDialog(this, rn); + dialog->exec(); int ret2 = QMessageBox::question(this, "Companion", tr("Do you want to download release %1 now ?").arg(versionString), QMessageBox::Yes | QMessageBox::No); if (ret2 == QMessageBox::Yes) {