diff ui/mainwindow.cpp @ 994:8fb1b912fd8e

Add test using the default download server used by the software This should help to highlight problems in the real environement but needs to be adapted when the server / server layout changes just as the software..
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 01 Sep 2014 13:14:10 +0200
parents b8ae69bcc540
children da6ce90bef17
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Mon Sep 01 12:53:22 2014 +0200
+++ b/ui/mainwindow.cpp	Mon Sep 01 13:14:10 2014 +0200
@@ -55,7 +55,9 @@
 #define APPNAME "TrustBridge"
 #endif
 
-#define SERVER_URL "https://files.intevation.de:443"
+#ifndef SERVER_URL
+#error "DOWNLOAD_SERVER option not set or invalid."
+#endif
 
 #if defined(_X86_) || defined(__i386__)
 #define TB_ARCH_STRING "-i386"

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