summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Joshua Joseph <joejoshw@gmail.com>2014-04-02 22:41:39 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-02 12:47:41 -0700
commitede6a38bcf38bbff56a8e41cb38f69c1532d0697 (patch)
tree975aa14d60bb491cd3880b2d239d335682557127 /subsurface.pro
parent5cec965cb7bea3abbb12823404b6a7cfcfb57225 (diff)
downloadsubsurface-ede6a38bcf38bbff56a8e41cb38f69c1532d0697.tar.gz
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>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 3944da095..6d13c1de8 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -76,7 +76,8 @@ HEADERS = \
qt-ui/profile/diveprofileitem.h \
qt-ui/profile/diveeventitem.h \
qt-ui/profile/divetooltipitem.h \
- qt-ui/profile/ruleritem.h
+ qt-ui/profile/ruleritem.h \
+ qt-ui/updatemanager.h
android: HEADERS -= \
qt-ui/usermanual.h \
@@ -148,7 +149,8 @@ SOURCES = \
qt-ui/profile/diveprofileitem.cpp \
qt-ui/profile/diveeventitem.cpp \
qt-ui/profile/divetooltipitem.cpp \
- qt-ui/profile/ruleritem.cpp
+ qt-ui/profile/ruleritem.cpp \
+ qt-ui/updatemanager.cpp
android: SOURCES += android.cpp
else: linux*: SOURCES += linux.c