aboutsummaryrefslogtreecommitdiff
path: root/src/qt/aboutdialog.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-02-01 00:04:07 -0800
committerWladimir J. van der Laan <[email protected]>2013-02-01 00:04:07 -0800
commit9acaa73820a1a130f6e1f62b8210c14e2eaa92cb (patch)
treeffd4532bded4db49f4994deab56c350b01a42441 /src/qt/aboutdialog.cpp
parentMerge pull request #2245 from gavinandresen/check216116 (diff)
parentBitcoin-Qt: better copyright year handling in AboutDialog (diff)
downloaddiscoin-9acaa73820a1a130f6e1f62b8210c14e2eaa92cb.tar.xz
discoin-9acaa73820a1a130f6e1f62b8210c14e2eaa92cb.zip
Merge pull request #2258 from Diapolo/Qt_copyright_about
Bitcoin-Qt: better copyright year handling in AboutDialog
Diffstat (limited to 'src/qt/aboutdialog.cpp')
-rw-r--r--src/qt/aboutdialog.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/qt/aboutdialog.cpp b/src/qt/aboutdialog.cpp
index 0b98befe8..755413b2b 100644
--- a/src/qt/aboutdialog.cpp
+++ b/src/qt/aboutdialog.cpp
@@ -1,14 +1,20 @@
#include "aboutdialog.h"
#include "ui_aboutdialog.h"
+
#include "clientmodel.h"
-#include "version.h"
+// Copyright year (2009-this)
+// Todo: update this when changing our copyright comments in the source
+const int ABOUTDIALOG_COPYRIGHT_YEAR = 2013;
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
+
+ // Set current copyright year
+ ui->copyrightLabel->setText(tr("Copyright") + QString(" &copy; ") + tr("2009-%1 The Bitcoin developers").arg(ABOUTDIALOG_COPYRIGHT_YEAR));
}
void AboutDialog::setModel(ClientModel *model)