summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--main.cpp1
-rw-r--r--qt-gui.cpp1
-rw-r--r--qt-ui/about.cpp2
-rw-r--r--subsurface-gen-version.pri4
-rw-r--r--subsurfacestartup.c1
-rw-r--r--subsurfacestartup.h1
7 files changed, 5 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 9031a06f6..ac16b6d41 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,7 +6,7 @@ translations/*.qm
*.dmg
*.patch
*.xml
-version.h
+ssrf-version.h
!dives/*.xml
*~
po/*.mo
diff --git a/main.cpp b/main.cpp
index 0d53a5acf..72a6cc585 100644
--- a/main.cpp
+++ b/main.cpp
@@ -6,7 +6,6 @@
#include <time.h>
#include "qt-gui.h"
-#include "version.h"
#include "subsurfacestartup.h"
#include "qt-ui/mainwindow.h"
#include "qt-ui/diveplanner.h"
diff --git a/qt-gui.cpp b/qt-gui.cpp
index 8d678909e..0fd162d3d 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -15,7 +15,6 @@
#include "uemis.h"
#include "device.h"
#include "webservice.h"
-#include "version.h"
#include "libdivecomputer.h"
#include "qt-ui/mainwindow.h"
#include "helpers.h"
diff --git a/qt-ui/about.cpp b/qt-ui/about.cpp
index 835c22c94..e2d815325 100644
--- a/qt-ui/about.cpp
+++ b/qt-ui/about.cpp
@@ -1,5 +1,5 @@
#include "about.h"
-#include "version.h"
+#include "ssrf-version.h"
#include <QDebug>
#include <QDialogButtonBox>
#include <QNetworkReply>
diff --git a/subsurface-gen-version.pri b/subsurface-gen-version.pri
index 135774541..5d6170f1b 100644
--- a/subsurface-gen-version.pri
+++ b/subsurface-gen-version.pri
@@ -1,5 +1,5 @@
-# Generate the version.h file
-VERSION_FILE = version.h
+# Generate the ssrf-version.h file
+VERSION_FILE = ssrf-version.h
macx: VER_OS = darwin
unix: !macx: VER_OS = linux
win32: VER_OS = win
diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index 9a03be6d7..ff0e8405b 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -1,4 +1,5 @@
#include "subsurfacestartup.h"
+#include "ssrf-version.h"
#include <stdbool.h>
#include <string.h>
#include "gettext.h"
diff --git a/subsurfacestartup.h b/subsurfacestartup.h
index 8a2420345..c979dc71e 100644
--- a/subsurfacestartup.h
+++ b/subsurfacestartup.h
@@ -4,7 +4,6 @@
#include "dive.h"
#include "divelist.h"
#include "libdivecomputer.h"
-#include "version.h"
#include <stdbool.h>
#ifdef __cplusplus