Add "Check for updates" Feature

This patch adds a check for updates feature.

It connects to http://subsurface.hohndel.org/updatecheck.html to check for
any new versions. It then prompts the user with a download link if an
update is available.

Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Joshua Joseph 2014-04-02 22:41:39 +03:00 committed by Dirk Hohndel
parent 5cec965cb7
commit ede6a38bcf
6 changed files with 109 additions and 2 deletions

View file

@ -601,6 +601,7 @@
<string>&amp;Help</string>
</property>
<addaction name="actionAboutSubsurface"/>
<addaction name="action_Check_for_Updates"/>
<addaction name="actionUserManual"/>
</widget>
<widget class="QMenu" name="menuImport">
@ -910,6 +911,11 @@
<bool>false</bool>
</property>
</action>
<action name="action_Check_for_Updates">
<property name="text">
<string>&amp;Check for Updates</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>