mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
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
@ -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 New Issue
Block a user