From bd1c8a5c64a0ae39fce51ce20b5c929cfb33ac3e Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 20 Feb 2014 17:10:52 +0100 Subject: [PATCH] Work on updating... --- src/gui/formupdate.cpp | 2 +- src/gui/formupdate.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/formupdate.cpp b/src/gui/formupdate.cpp index b693593c9..4ec4e2e12 100755 --- a/src/gui/formupdate.cpp +++ b/src/gui/formupdate.cpp @@ -54,7 +54,7 @@ void FormUpdate::checkForUpdates() { m_ui->m_lblAvailableRelease->setText(update.first.m_availableVersion); m_ui->m_txtChanges->setText(update.first.m_changes); - if (update.first.m_availableVersion > APP_VERSION) { + if (update.first.m_availableVersion <= APP_VERSION) { #if defined(Q_OS_WIN) || defined(Q_OS_OS2) m_ui->m_lblStatus->setStatus(WidgetWithStatus::Ok, tr("New release available."), diff --git a/src/gui/formupdate.h b/src/gui/formupdate.h index 24fd49f3a..9fe66fa75 100644 --- a/src/gui/formupdate.h +++ b/src/gui/formupdate.h @@ -19,6 +19,7 @@ class FormUpdate : public QDialog { virtual ~FormUpdate(); protected slots: + // Check for updates and interprets the results. void checkForUpdates(); private: