aboutsummaryrefslogtreecommitdiff
path: root/src/qt/splashscreen.cpp
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2015-01-16 16:27:12 -0500
committerCory Fields <[email protected]>2015-01-17 03:31:27 -0500
commit73cd4edb4f1ff98c20549a609e96fa40834f5e73 (patch)
tree1f120418e2549434bdc419fd21fe1e2c0163486e /src/qt/splashscreen.cpp
parentqt: fix broken unicode chars on osx 10.10 (diff)
downloaddiscoin-73cd4edb4f1ff98c20549a609e96fa40834f5e73.tar.xz
discoin-73cd4edb4f1ff98c20549a609e96fa40834f5e73.zip
qt: avoid hard-coding font names
They may not contain all necessary characters for a language
Diffstat (limited to 'src/qt/splashscreen.cpp')
-rw-r--r--src/qt/splashscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index 366ed3df3..e6a7fcaec 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -42,7 +42,7 @@ SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle)
QString copyrightText = QChar(0xA9)+QString(" 2009-%1 ").arg(COPYRIGHT_YEAR) + QString(tr("The Bitcoin Core developers"));
QString titleAddText = networkStyle->getTitleAddText();
- QString font = "Arial";
+ QString font = QApplication::font().toString();
// create a bitmap according to device pixelratio
QSize splashSize(480*devicePixelRatio,320*devicePixelRatio);