mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-24 09:03:56 +01:00
add fallback for embedded commit string for source archives
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user