Revert "Don't include commit hash"

This reverts commit 8b471bfee2.
This commit is contained in:
tobtoht
2022-08-29 14:11:05 +02:00
parent 380ca7f457
commit 61523d40e6
6 changed files with 32 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@ AboutDialog::AboutDialog(QWidget *parent)
auto about = Utils::fileOpenQRC(":assets/about.txt");
auto about_text = Utils::barrayToString(about);
about_text = about_text.replace("<feather_version>", FEATHER_VERSION);
about_text = about_text.replace("<feather_git_head>", FEATHER_COMMIT);
about_text = about_text.replace("<current_year>", QString::number(QDate::currentDate().year()));
ui->copyrightText->setPlainText(about_text);
+1 -1
View File
@@ -45,7 +45,7 @@ void DebugInfoDialog::updateInfo() {
else
torStatus = "Unknown";
ui->label_featherVersion->setText(QString("%1").arg(FEATHER_VERSION));
ui->label_featherVersion->setText(QString("%1-%2").arg(FEATHER_VERSION, FEATHER_COMMIT));
ui->label_walletHeight->setText(QString::number(m_ctx->wallet->blockChainHeight()));
ui->label_daemonHeight->setText(QString::number(m_ctx->wallet->daemonBlockChainHeight()));