comparison 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
comparison
equal deleted inserted replaced
1386:90a8eb36e9b0 1387:c64b6c56ce96
119 bool trayMode = arguments.contains("--tray"); 119 bool trayMode = arguments.contains("--tray");
120 120
121 if (arguments.contains("--version")) { 121 if (arguments.contains("--version")) {
122 printf (APPNAME " Version: %s \n", 122 printf (APPNAME " Version: %s \n",
123 QApplication::applicationVersion().toLocal8Bit().constData()); 123 QApplication::applicationVersion().toLocal8Bit().constData());
124 #ifndef RELEASE_BUILD
125 printf ("Test Version! - Not for productive use!\n";
126 #endif
124 printf (COPYRIGHT); 127 printf (COPYRIGHT);
125 return 0; 128 return 0;
126 } 129 }
127 130
128 QSettings settings; 131 QSettings settings;

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