Skip to content

Commit

Permalink
qt: avoid hard-coding font names
Browse files Browse the repository at this point in the history
They may not contain all necessary characters for a language
  • Loading branch information
theuni committed Jan 17, 2015
1 parent 52954e6 commit 73cd4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/splashscreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 73cd4ed

Please sign in to comment.