diff --git a/companion/src/mainwindow.cpp b/companion/src/mainwindow.cpp index 07b5c367e..90fe1c1db 100644 --- a/companion/src/mainwindow.cpp +++ b/companion/src/mainwindow.cpp @@ -359,7 +359,7 @@ void MainWindow::checkForCompanionUpdateFinished(QNetworkReply * reply) if (!fileName.isEmpty()) { g.updatesDir(QFileInfo(fileName).dir().absolutePath()); - downloadDialog * dd = new downloadDialog(this, getCompanionUpdateBaseUrl() % QString(COMPANION_INSTALLER).arg(version), fileName); + downloadDialog * dd = new DownloadDialog(this, getCompanionUpdateBaseUrl() % QString(COMPANION_INSTALLER).arg(version), fileName); installer_fileName = fileName; connect(dd, SIGNAL(accepted()), this, SLOT(updateDownloaded())); dd->exec();