diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-11 22:11:58 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-06-11 22:11:58 +0200 |
| commit | ba4081c1fcaddf361abd61b2721994eff5475bb3 (patch) | |
| tree | 8667eac9e13bde9d006407b55b73bacc830f46e6 /src/qt/aboutdialog.cpp | |
| parent | Somewhat confident now, tested on GNOME+KDE, with all types of transactions. ... (diff) | |
| download | discoin-ba4081c1fcaddf361abd61b2721994eff5475bb3.tar.xz discoin-ba4081c1fcaddf361abd61b2721994eff5475bb3.zip | |
move back to original directory structure
Diffstat (limited to 'src/qt/aboutdialog.cpp')
| -rw-r--r-- | src/qt/aboutdialog.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/qt/aboutdialog.cpp b/src/qt/aboutdialog.cpp new file mode 100644 index 000000000..13347961d --- /dev/null +++ b/src/qt/aboutdialog.cpp @@ -0,0 +1,22 @@ +#include "aboutdialog.h" +#include "ui_aboutdialog.h" + +#include "util.h" + +AboutDialog::AboutDialog(QWidget *parent) : + QDialog(parent), + ui(new Ui::AboutDialog) +{ + ui->setupUi(this); + ui->versionLabel->setText(QString::fromStdString(FormatFullVersion())); +} + +AboutDialog::~AboutDialog() +{ + delete ui; +} + +void AboutDialog::on_buttonBox_accepted() +{ + close(); +} |