add fallback for embedded commit string for source archives

This commit is contained in:
tobtoht
2022-02-10 23:16:43 +01:00
parent 9521185520
commit 8a2e92b6f9
4 changed files with 19 additions and 31 deletions
+1 -1
View File
@@ -19,7 +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_BRANCH);
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);