mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
Merge pull request #26 from nightlydarkcoin/macfontfix
Qt: Fix monospace font in osx 10.9
This commit is contained in:
commit
2125530190
@ -61,7 +61,11 @@ QString dateTimeStr(qint64 nTime)
|
|||||||
QFont bitcoinAddressFont()
|
QFont bitcoinAddressFont()
|
||||||
{
|
{
|
||||||
QFont font("Monospace");
|
QFont font("Monospace");
|
||||||
|
#if QT_VERSION >= 0x040800
|
||||||
|
font.setStyleHint(QFont::Monospace);
|
||||||
|
#else
|
||||||
font.setStyleHint(QFont::TypeWriter);
|
font.setStyleHint(QFont::TypeWriter);
|
||||||
|
#endif
|
||||||
return font;
|
return font;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user