Browse Source

fix: remove build date and time from main.cpp

This is the first step to having reproducible builds. It
should allow to make an identical build in the same environment
and increase privacy when sharing logs, because the build time
was not in UTC.
reviewable/pr5031/r1
tox-user 7 years ago
parent
commit
23f6ad7047
  1. 4
      src/main.cpp

4
src/main.cpp

@ -185,8 +185,7 @@ int main(int argc, char* argv[]) @@ -185,8 +185,7 @@ int main(int argc, char* argv[])
// Process arguments
QCommandLineParser parser;
parser.setApplicationDescription("qTox, version: " + QString(GIT_VERSION) + "\nBuilt: "
+ __TIME__ + " " + __DATE__);
parser.setApplicationDescription("qTox, version: " + QString(GIT_VERSION));
parser.addHelpOption();
parser.addVersionOption();
parser.addPositionalArgument("uri", QObject::tr("Tox URI to parse"));
@ -253,7 +252,6 @@ int main(int argc, char* argv[]) @@ -253,7 +252,6 @@ int main(int argc, char* argv[])
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath());
a->addLibraryPath("platforms");
qDebug() << "built on: " << __TIME__ << __DATE__ << "(" << TIMESTAMP << ")";
qDebug() << "commit: " << GIT_VERSION;

Loading…
Cancel
Save