diff options
| author | Philip Kaufmann <[email protected]> | 2013-04-10 16:53:36 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-04-10 16:53:36 +0200 |
| commit | ec3cac6631592ee5cf733ead50fa9b4aa3cd603f (patch) | |
| tree | a85f9ccafc533f5accc13395f76943b9aff9390a /src/qt/aboutdialog.cpp | |
| parent | Merge pull request #2498 from jonasschnelli/addressbookpage_mac_fix (diff) | |
| download | discoin-ec3cac6631592ee5cf733ead50fa9b4aa3cd603f.tar.xz discoin-ec3cac6631592ee5cf733ead50fa9b4aa3cd603f.zip | |
move COPYRIGHT_YEAR to clientversion.h
- this allows usage of that information also in other places (e.g. splash
screen)
Diffstat (limited to 'src/qt/aboutdialog.cpp')
| -rw-r--r-- | src/qt/aboutdialog.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/qt/aboutdialog.cpp b/src/qt/aboutdialog.cpp index 755413b2b..57818b8a2 100644 --- a/src/qt/aboutdialog.cpp +++ b/src/qt/aboutdialog.cpp @@ -2,10 +2,7 @@ #include "ui_aboutdialog.h" #include "clientmodel.h" - -// Copyright year (2009-this) -// Todo: update this when changing our copyright comments in the source -const int ABOUTDIALOG_COPYRIGHT_YEAR = 2013; +#include "clientversion.h" AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), @@ -14,7 +11,7 @@ AboutDialog::AboutDialog(QWidget *parent) : ui->setupUi(this); // Set current copyright year - ui->copyrightLabel->setText(tr("Copyright") + QString(" © ") + tr("2009-%1 The Bitcoin developers").arg(ABOUTDIALOG_COPYRIGHT_YEAR)); + ui->copyrightLabel->setText(tr("Copyright") + QString(" © ") + tr("2009-%1 The Bitcoin developers").arg(COPYRIGHT_YEAR)); } void AboutDialog::setModel(ClientModel *model) |