mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +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:
parent
09f23bd3c4
commit
6780335dc9
@ -25,7 +25,6 @@ const int bookmarksVersion = 1;
|
||||
|
||||
QUPZILLA_EXPORT const char* APPNAME = "QupZilla";
|
||||
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* COPYRIGHT = "2010-2015";
|
||||
QUPZILLA_EXPORT const char* WWWADDRESS = "http://www.qupzilla.com";
|
||||
|
@ -60,7 +60,6 @@ extern const int bookmarksVersion;
|
||||
|
||||
QUPZILLA_EXPORT extern const char* APPNAME;
|
||||
QUPZILLA_EXPORT extern const char* VERSION;
|
||||
QUPZILLA_EXPORT extern const char* BUILDTIME;
|
||||
QUPZILLA_EXPORT extern const char* AUTHOR;
|
||||
QUPZILLA_EXPORT extern const char* COPYRIGHT;
|
||||
QUPZILLA_EXPORT extern const char* WWWADDRESS;
|
||||
|
@ -382,7 +382,6 @@ QString QupZillaSchemeReply::configPage()
|
||||
#endif
|
||||
) +
|
||||
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()));
|
||||
|
||||
cPage.replace(QLatin1String("%PATHS-TEXT%"),
|
||||
|
@ -75,7 +75,6 @@ void AboutDialog::showAbout()
|
||||
);
|
||||
m_aboutHtml += tr("<b>QtWebEngine version %1</b></p>").arg(QT_VERSION_STR);
|
||||
m_aboutHtml += QString("<p>© %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 += "<p>" + mApp->userAgentManager()->defaultUserAgent() + "</p>";
|
||||
m_aboutHtml += "</div></center>";
|
||||
|
Loading…
Reference in New Issue
Block a user