From e5c9e2ac449615c1930f85b174919db595ddbdd7 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 19 May 2011 16:43:06 +0200 Subject: [PATCH] Added compilation date to track whether this is a released binary or a manually compiled version --- vv/vvConfiguration.h.in | 1 - vv/vvRegisterForm.cxx | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vv/vvConfiguration.h.in b/vv/vvConfiguration.h.in index 65ada5f..36d3258 100644 --- a/vv/vvConfiguration.h.in +++ b/vv/vvConfiguration.h.in @@ -20,6 +20,5 @@ #define vv_configuration_h #define VV_VERSION "v@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@" -#cmakedefine01 VV_RELEASED_BINARY #endif diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index c2bda0e..e39ffdd 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -40,6 +40,8 @@ void vvRegisterForm::sendData(){ url2.addQueryItem("os", osName->text().toUtf8()); url2.addQueryItem("vvVersion", VV_VERSION); url2.addQueryItem("architecture", ARCHITECTURE); + url2.addQueryItem("compilationDate", QString(__DATE__) + ", " + QString(__TIME__) ); + manager->get(QNetworkRequest(url2)); } void vvRegisterForm::accept(){ -- 2.45.1