aboutsummaryrefslogtreecommitdiff
path: root/gui/src/guiutil.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-01 20:08:21 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-01 20:08:21 +0200
commitef1b844e7b444b07e708dcd9a1e0dc93510dade5 (patch)
tree95d535087158317bf8518d8f0917e1eb2520dc53 /gui/src/guiutil.cpp
parentdf6dfb4ab82da88103738ace69dca2d42fcb87b0 (diff)
monospace font for bitcoin addresses
Diffstat (limited to 'gui/src/guiutil.cpp')
-rw-r--r--gui/src/guiutil.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/src/guiutil.cpp b/gui/src/guiutil.cpp
index d27a8e101c..59b4de305d 100644
--- a/gui/src/guiutil.cpp
+++ b/gui/src/guiutil.cpp
@@ -7,3 +7,10 @@ QString DateTimeStr(qint64 nTime)
QDateTime date = QDateTime::fromMSecsSinceEpoch(nTime*1000);
return date.date().toString(Qt::SystemLocaleShortDate) + QString(" ") + date.toString("hh:mm");
}
+
+QFont bitcoinAddressFont()
+{
+ QFont font("Monospace");
+ font.setStyleHint(QFont::TypeWriter);
+ return font;
+}