Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: remove build date and time from main.cpp
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tox-user committed Mar 22, 2018
1 parent acea7c3 commit 23f6ad7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down Expand Up @@ -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;


Expand Down

0 comments on commit 23f6ad7

Please sign in to comment.