diff ui/mainwindow.cpp @ 1093:153af47456d0

Add option "USE_REAL_RESOURCES" to avoid the if 1 dance for test/release builds. If the option is not set the download resource is trustbridge-development.*
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 15 Sep 2014 10:17:17 +0200
parents 0ae3c99b82ee
children 03a1f3761f45
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Fri Sep 12 16:11:08 2014 +0200
+++ b/ui/mainwindow.cpp	Mon Sep 15 10:17:17 2014 +0200
@@ -65,7 +65,7 @@
 #define TB_ARCH_STRING "-amd64"
 #endif
 
-#if 1
+#ifdef USE_REAL_RESOURCES
 # define LIST_RESOURCE "/zertifikatsliste.txt"
 # ifdef Q_OS_WIN
 #  define SW_RESOURCE_VERSION "/TrustBridge-%1.exe"

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