aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-01-23 08:26:06 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-01-23 08:26:11 +0100
commit6746787a0cd2eb3fcc7426f7f5275783228e7a45 (patch)
tree2d0c8f42a2c8e601095acda30dcf11dfa21b111b /src/qt
parent3c3cd878b94e6aaa480d9fbced8d23965b096771 (diff)
parentfe14e8d790f05beb6d01bb380fea873cec5de3ba (diff)
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/qt')
-rw-r--r--src/qt/utilitydialog.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp
index 05a01c7445..a96b9d6c0b 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);
}
}