diff ui/main.cpp @ 1387:c64b6c56ce96 0.9.8

(issue95) Change keys for release build. Fix release build usage.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 15 Jan 2015 16:46:36 +0100
parents 23df332b2a4c
children 8d27c6d226cd
line wrap: on
line diff
--- a/ui/main.cpp	Thu Jan 15 16:14:35 2015 +0100
+++ b/ui/main.cpp	Thu Jan 15 16:46:36 2015 +0100
@@ -121,6 +121,9 @@
     if (arguments.contains("--version")) {
         printf (APPNAME " Version: %s \n",
                 QApplication::applicationVersion().toLocal8Bit().constData());
+#ifndef RELEASE_BUILD
+        printf ("Test Version! - Not for productive use!\n";
+#endif
         printf (COPYRIGHT);
         return 0;
     }

http://wald.intevation.org/projects/trustbridge/