aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-03-19 17:52:44 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-03-19 17:52:44 +0100
commit3897ff83b6848e4169f1641b1132714870f01801 (patch)
tree5afcddd6543ceb0109db77156a6d9d452689c0a1 /src/main.cpp
parentAdded build script (diff)
downloadsmolbote-3897ff83b6848e4169f1641b1132714870f01801.tar.xz
Updated BUILDING.md
mach script can now build tarballs
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b787caf..a99e5de 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -26,9 +26,12 @@
int main(int argc, char *argv[])
{
Browser app(argc, argv);
-#ifdef VERSION
- app.setApplicationVersion(VERSION);
+#ifdef GIT_VERSION
+ app.setApplicationVersion(GIT_VERSION);
+#else
+ app.setApplicationVersion("1.0.0");
#endif
+
app.setWindowIcon(QIcon(QLatin1String(":/icon.svg")));
QCommandLineParser parser;