diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-01-23 08:26:06 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-01-23 08:26:11 +0100 |
| commit | 6746787a0cd2eb3fcc7426f7f5275783228e7a45 (patch) | |
| tree | 2d0c8f42a2c8e601095acda30dcf11dfa21b111b /src | |
| parent | Merge pull request #3573 (diff) | |
| parent | build: Change package name to Bitcoin Core (diff) | |
| download | discoin-6746787a0cd2eb3fcc7426f7f5275783228e7a45.tar.xz discoin-6746787a0cd2eb3fcc7426f7f5275783228e7a45.zip | |
Merge pull request #3560
fe14e8d build: Change package name to Bitcoin Core (Wladimir J. van der Laan)
6c980c7 build: Package docs/ and don't package source. (Wladimir J. van der Laan)
39db27c build: Add bitcoin-cli.exe to installer (Wladimir J. van der Laan)
2f87b38 Adapt Windows installer for 64 bit (Wladimir J. van der Laan)
f622232 gitian: Windows 64 bit support (Wladimir J. van der Laan)
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/utilitydialog.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp index 05a01c744..a96b9d6c0 100644 --- a/src/qt/utilitydialog.cpp +++ b/src/qt/utilitydialog.cpp @@ -33,7 +33,16 @@ void AboutDialog::setModel(ClientModel *model) { if(model) { - ui->versionLabel->setText(model->formatFullVersion()); + QString version = model->formatFullVersion(); + /* On x86 add a bit specifier to the version so that users can distinguish between + * 32 and 64 bit builds. On other architectures, 32/64 bit may be more ambigious. + */ +#if defined(__x86_64__) + version += " (64-bit)"; +#elif defined(__i386__ ) + version += " (32-bit)"; +#endif + ui->versionLabel->setText(version); } } |