1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Drop showing build time in version info

Build time was a nice idea, but it only saved build time for
qzcommon.cpp (which was builded only with clean build) and it
also breaks reproducible builds.

A variation of this patch is already used by some distros.
This commit is contained in:
David Rosca 2015-10-21 20:55:12 +02:00
parent 09f23bd3c4
commit 6780335dc9
4 changed files with 0 additions and 4 deletions

View File

@ -25,7 +25,6 @@ const int bookmarksVersion = 1;
QUPZILLA_EXPORT const char* APPNAME = "QupZilla"; QUPZILLA_EXPORT const char* APPNAME = "QupZilla";
QUPZILLA_EXPORT const char* VERSION = QUPZILLA_VERSION; QUPZILLA_EXPORT const char* VERSION = QUPZILLA_VERSION;
QUPZILLA_EXPORT const char* BUILDTIME = __DATE__ " " __TIME__;
QUPZILLA_EXPORT const char* AUTHOR = "David Rosca"; QUPZILLA_EXPORT const char* AUTHOR = "David Rosca";
QUPZILLA_EXPORT const char* COPYRIGHT = "2010-2015"; QUPZILLA_EXPORT const char* COPYRIGHT = "2010-2015";
QUPZILLA_EXPORT const char* WWWADDRESS = "http://www.qupzilla.com"; QUPZILLA_EXPORT const char* WWWADDRESS = "http://www.qupzilla.com";

View File

@ -60,7 +60,6 @@ extern const int bookmarksVersion;
QUPZILLA_EXPORT extern const char* APPNAME; QUPZILLA_EXPORT extern const char* APPNAME;
QUPZILLA_EXPORT extern const char* VERSION; QUPZILLA_EXPORT extern const char* VERSION;
QUPZILLA_EXPORT extern const char* BUILDTIME;
QUPZILLA_EXPORT extern const char* AUTHOR; QUPZILLA_EXPORT extern const char* AUTHOR;
QUPZILLA_EXPORT extern const char* COPYRIGHT; QUPZILLA_EXPORT extern const char* COPYRIGHT;
QUPZILLA_EXPORT extern const char* WWWADDRESS; QUPZILLA_EXPORT extern const char* WWWADDRESS;

View File

@ -382,7 +382,6 @@ QString QupZillaSchemeReply::configPage()
#endif #endif
) + ) +
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Qt version"), QT_VERSION_STR) + QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Qt version"), QT_VERSION_STR) +
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Build time"), Qz::BUILDTIME) +
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Platform"), QzTools::operatingSystem())); QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Platform"), QzTools::operatingSystem()));
cPage.replace(QLatin1String("%PATHS-TEXT%"), cPage.replace(QLatin1String("%PATHS-TEXT%"),

View File

@ -75,7 +75,6 @@ void AboutDialog::showAbout()
); );
m_aboutHtml += tr("<b>QtWebEngine version %1</b></p>").arg(QT_VERSION_STR); m_aboutHtml += tr("<b>QtWebEngine version %1</b></p>").arg(QT_VERSION_STR);
m_aboutHtml += QString("<p>&copy; %1 %2<br/>").arg(Qz::COPYRIGHT, Qz::AUTHOR); m_aboutHtml += QString("<p>&copy; %1 %2<br/>").arg(Qz::COPYRIGHT, Qz::AUTHOR);
m_aboutHtml += tr("<small>Build time: %1 </small></p>").arg(Qz::BUILDTIME);
m_aboutHtml += QString("<p><a href=%1>%1</a></p>").arg(Qz::WWWADDRESS); m_aboutHtml += QString("<p><a href=%1>%1</a></p>").arg(Qz::WWWADDRESS);
m_aboutHtml += "<p>" + mApp->userAgentManager()->defaultUserAgent() + "</p>"; m_aboutHtml += "<p>" + mApp->userAgentManager()->defaultUserAgent() + "</p>";
m_aboutHtml += "</div></center>"; m_aboutHtml += "</div></center>";