Skip to content

Commit

Permalink
Merge pull request #26 from nightlydarkcoin/macfontfix
Browse files Browse the repository at this point in the history
Qt: Fix monospace font in osx 10.9
  • Loading branch information
darkcoinproject committed Jul 20, 2014
2 parents 036648e + 41d1653 commit 2125530
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qt/guiutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ QString dateTimeStr(qint64 nTime)
QFont bitcoinAddressFont()
{
QFont font("Monospace");
#if QT_VERSION >= 0x040800
font.setStyleHint(QFont::Monospace);
#else
font.setStyleHint(QFont::TypeWriter);
#endif
return font;
}

Expand Down

0 comments on commit 2125530

Please sign in to comment.