From a7dd1b7737da70ccca99df635cfee6fbcb598736 Mon Sep 17 00:00:00 2001 From: Derrick Dymock Date: Fri, 6 Mar 2015 10:32:05 -0800 Subject: [PATCH] Remove __DATE__ and __TIME__. This removes the date and time macro to attempt to get us to reproducible builds. While I do like the date and time included, it doesn't really add that much value to our users. --- src/Version.h | 2 +- src/mumble/VersionCheck.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Version.h b/src/Version.h index e773217f8..4cd5f961d 100644 --- a/src/Version.h +++ b/src/Version.h @@ -36,7 +36,7 @@ #define MUMTEXT(X) MUMXTEXT(X) #ifndef MUMBLE_VERSION -#define MUMBLE_RELEASE "Compiled " __DATE__ " " __TIME__ +#define MUMBLE_RELEASE "Compiled by User" #else #define MUMBLE_RELEASE MUMTEXT(MUMBLE_VERSION) #endif diff --git a/src/mumble/VersionCheck.cpp b/src/mumble/VersionCheck.cpp index 30a0bb6c8..b227ab299 100644 --- a/src/mumble/VersionCheck.cpp +++ b/src/mumble/VersionCheck.cpp @@ -44,8 +44,6 @@ VersionCheck::VersionCheck(bool autocheck, QObject *p, bool focus) : QObject(p) QList > queryItems; queryItems << qMakePair(QString::fromLatin1("ver"), QString::fromLatin1(QUrl::toPercentEncoding(QLatin1String(MUMBLE_RELEASE)))); - queryItems << qMakePair(QString::fromLatin1("date"), QString::fromLatin1(QUrl::toPercentEncoding(QLatin1String(__DATE__)))); - queryItems << qMakePair(QString::fromLatin1("time"), QString::fromLatin1(QUrl::toPercentEncoding(QLatin1String(__TIME__)))); #if defined(Q_OS_WIN) # if defined(Q_OS_WIN64) queryItems << qMakePair(QString::fromLatin1("os"), QString::fromLatin1("WinX64"));