mirror of
https://github.com/ciromattia/kcc
synced 2026-10-05 17:12:32 +00:00
Small tweaks
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ class VersionThread(QtCore.QThread):
|
||||
except Exception:
|
||||
return
|
||||
latestVersion = XML.childNodes[0].getElementsByTagName('latest')[0].childNodes[0].toxml()
|
||||
if latestVersion != __version__:
|
||||
if tuple(map(int, (latestVersion.split(".")))) > tuple(map(int, (__version__.split(".")))):
|
||||
self.emit(QtCore.SIGNAL("addMessage"), 'New version is available!', 'warning')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user