Small tweaks

This commit is contained in:
Paweł Jastrzębski
2013-06-23 11:20:30 +02:00
parent 57bfd6b968
commit 795ccd9782
4 changed files with 4 additions and 14 deletions
+1 -1
View File
@@ -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')