aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2015-10-22 13:33:58 +0200
committerMarcoFalke <falke.marco@gmail.com>2015-10-29 18:01:39 +0100
commit28313b83fc1a16b5e6da2b868b5f297050ce8b05 (patch)
treef0362697b3de238017fb38565bf3208537e34abb /src/qt/guiutil.cpp
parent8daffe227bc67706d6640b67776f7711a6a98607 (diff)
[qt] Use fixed pitch font for the rpc console
Also: * Preserve white space * Make fixed font as large as default font
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r--src/qt/guiutil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index 8917f77f22..1c0056a7bd 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -88,7 +88,7 @@ QString dateTimeStr(qint64 nTime)
return dateTimeStr(QDateTime::fromTime_t((qint32)nTime));
}
-QFont bitcoinAddressFont()
+QFont fixedPitchFont()
{
QFont font("Monospace");
#if QT_VERSION >= 0x040800
@@ -103,7 +103,7 @@ void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)
{
parent->setFocusProxy(widget);
- widget->setFont(bitcoinAddressFont());
+ widget->setFont(fixedPitchFont());
#if QT_VERSION >= 0x040700
// We don't want translators to use own addresses in translations
// and this is the only place, where this address is supplied.