mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-30 17:15:01 +01:00
Trully reports new versions.
This commit is contained in:
parent
825cb542b8
commit
f4f278119a
@ -93,7 +93,7 @@ void FormUpdate::checkForUpdates() {
|
||||
|
||||
bool is_self_update_for_this_system = isUpdateForThisSystem() && isSelfUpdateSupported();
|
||||
|
||||
if (update.first.m_availableVersion != APP_VERSION) {
|
||||
if (update.first.m_availableVersion > APP_VERSION) {
|
||||
m_ui->m_lblStatus->setStatus(WidgetWithStatus::Ok,
|
||||
tr("New release available."),
|
||||
tr("This is new version which can be\ndownloaded and installed."));
|
||||
|
@ -235,7 +235,7 @@ void SystemFactory::handleBackgroundUpdatesCheck() {
|
||||
QFutureWatcher<UpdateCheck> *future_watcher = static_cast<QFutureWatcher<UpdateCheck>*>(sender());
|
||||
UpdateCheck updates = future_watcher->result();
|
||||
|
||||
if (updates.second == QNetworkReply::NoError && updates.first.m_availableVersion != APP_VERSION) {
|
||||
if (updates.second == QNetworkReply::NoError && updates.first.m_availableVersion > APP_VERSION) {
|
||||
if (SystemTrayIcon::isSystemTrayActivated()) {
|
||||
qApp->trayIcon()->showMessage(tr("New version available"),
|
||||
tr("Click the bubble for more information."),
|
||||
|
Loading…
x
Reference in New Issue
Block a user