History

Merge

Leonardo Murillo committed 12 years ago

Commit 80946b12 parents f9bb986 6a2c962107 files · +1050 −2012Browse files

Showing the changes to interface/src/ui/UpdateDialog.cpp (1 of 107 files). Show all

Unified · Split

interface/src/ui/UpdateDialog.cpp+5−4
@@ -38,7 +38,9 @@ UpdateDialog::UpdateDialog(QWidget *parent, QString releaseNotes) : QDialog(pare · 37 unmodified lines
3838
3939 Application* application = Application::getInstance();
4040
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);
4244
4345
4446 QPushButton *_downloadButton = updateDialog->findChild<QPushButton*>("downloadButton");
@@ -62,10 +64,9 @@ void UpdateDialog::handleDownload() { · 17 unmodified lines
6264 void UpdateDialog::handleSkip() {
6365 Application* application = Application::getInstance();
6466 application->skipVersion();
65− this->QDialog::close();
67+ this->reject();
6668 }
6769
6870 void UpdateDialog::handleClose() {
69− qDebug("###### HANDLECLOSE\n");
70− this->QDialog::close();
71+ this->reject();
7172 }