mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-25 07:57:19 +00:00
fix #37
This commit is contained in:
parent
2272b0c2c0
commit
a336d9aa04
@ -266,8 +266,8 @@ void AwesomeWidget::replyRecieved(QNetworkReply *reply)
|
|||||||
int new_minor = QString(version).split(QChar('.'))[1].toInt();
|
int new_minor = QString(version).split(QChar('.'))[1].toInt();
|
||||||
int new_patch = QString(version).split(QChar('.'))[2].toInt();
|
int new_patch = QString(version).split(QChar('.'))[2].toInt();
|
||||||
if ((old_major < new_major) ||
|
if ((old_major < new_major) ||
|
||||||
(old_minor < new_minor) ||
|
((old_major == new_major) && (old_minor < new_minor)) ||
|
||||||
(old_patch < new_patch))
|
((old_major == new_major) && (old_minor == new_minor) && (old_patch < new_patch)))
|
||||||
emit(thereIsUpdates(version));
|
emit(thereIsUpdates(version));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user