diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2015-01-16 16:27:12 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2015-01-17 03:31:27 -0500 |
commit | 73cd4edb4f1ff98c20549a609e96fa40834f5e73 (patch) | |
tree | 1f120418e2549434bdc419fd21fe1e2c0163486e /src/qt | |
parent | 52954e6efd373c14736237c4c79769bf00f5dfb8 (diff) |
qt: avoid hard-coding font names
They may not contain all necessary characters for a language
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/splashscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index 366ed3df3d..e6a7fcaec5 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); |