Showing the changes to interface/src/ui/UpdateDialog.cpp (1 of 107 files). Show all
Unified · Split
| @@ -38,7 +38,9 @@ UpdateDialog::UpdateDialog(QWidget *parent, QString releaseNotes) : QDialog(pare · 37 unmodified lines | ||
| 38 | 38 | |
| 39 | 39 | Application* application = Application::getInstance(); |
| 40 | 40 | |
| 41 | − const QString updateRequired = QString("You are currently running build %1, the latest build released is %2. Please download and install the most recent release to access the latest features and bug fixes.").arg(application->applicationVersion(), *application->_latestVersion); | |
| 41 | + const QString updateRequired = QString("You are currently running build %1, the latest build released is %2. \ | |
| 42 | + Please download and install the most recent release to access the latest features and bug fixes.") | |
| 43 | + .arg(application->applicationVersion(), *application->_latestVersion); | |
| 42 | 44 | |
| 43 | 45 | |
| 44 | 46 | QPushButton *_downloadButton = updateDialog->findChild<QPushButton*>("downloadButton"); |
| @@ -62,10 +64,9 @@ void UpdateDialog::handleDownload() { · 17 unmodified lines | ||
| 62 | 64 | void UpdateDialog::handleSkip() { |
| 63 | 65 | Application* application = Application::getInstance(); |
| 64 | 66 | application->skipVersion(); |
| 65 | − this->QDialog::close(); | |
| 67 | + this->reject(); | |
| 66 | 68 | } |
| 67 | 69 | |
| 68 | 70 | void UpdateDialog::handleClose() { |
| 69 | − qDebug("###### HANDLECLOSE\n"); | |
| 70 | − this->QDialog::close(); | |
| 71 | + this->reject(); | |
| 71 | 72 | } |