Skip to content

Commit

Permalink
Pull copyright year for About Gridcoin from gridcoin-config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Feb 19, 2024
1 parent 7587db3 commit 4932c8f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/qt/aboutdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ AboutDialog::AboutDialog(QWidget *parent) :
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
ui->copyrightLabel->setText("Copyright 2009-2024 The Bitcoin/Peercoin/Black-Coin/Gridcoin developers");

QString copyrightText = "Copyright 2009-";
copyrightText += QString::number(COPYRIGHT_YEAR);
copyrightText += " The Bitcoin/Peercoin/Black-Coin/Gridcoin developers";

ui->copyrightLabel->setText(copyrightText);

resize(GRC::ScaleSize(this, width(), height()));

Expand Down

0 comments on commit 4932c8f

Please sign in to comment.