Fix "New update".

This commit is contained in:
Martin Rotter 2017-09-06 07:42:40 +02:00
parent 95ee6be7b6
commit 7bad9d1701
2 changed files with 3 additions and 3 deletions

View file

@ -140,7 +140,7 @@ int main(int argc, char* argv[]) {
QObject::disconnect(qApp->system(), &SystemFactory::updatesChecked, nullptr, nullptr);
if (!updates.first.isEmpty() && updates.second == QNetworkReply::NoError &&
!SystemFactory::isVersionNewer(updates.first.at(0).m_availableVersion, APP_VERSION)) {
SystemFactory::isVersionNewer(updates.first.at(0).m_availableVersion, APP_VERSION)) {
qApp->showGuiMessage(QObject::tr("New version available"),
QObject::tr("Click the bubble for more information."),
QSystemTrayIcon::Information, qApp->mainForm(), false,