mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
move COPYRIGHT_YEAR to clientversion.h
- this allows usage of that information also in other places (e.g. splash screen)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user