qt: avoid hard-coding font names
They may not contain all necessary characters for a language
This commit is contained in:
parent
52954e6efd
commit
73cd4edb4f
1 changed files with 1 additions and 1 deletions
|
@ -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 copyrightText = QChar(0xA9)+QString(" 2009-%1 ").arg(COPYRIGHT_YEAR) + QString(tr("The Bitcoin Core developers"));
|
||||||
QString titleAddText = networkStyle->getTitleAddText();
|
QString titleAddText = networkStyle->getTitleAddText();
|
||||||
|
|
||||||
QString font = "Arial";
|
QString font = QApplication::font().toString();
|
||||||
|
|
||||||
// create a bitmap according to device pixelratio
|
// create a bitmap according to device pixelratio
|
||||||
QSize splashSize(480*devicePixelRatio,320*devicePixelRatio);
|
QSize splashSize(480*devicePixelRatio,320*devicePixelRatio);
|
||||||
|
|
Loading…
Reference in a new issue