mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-25 22:34:27 +00:00
Merge pull request #4228
e9df7f8 Qt: Fix monospace font in osx 10.9 (Cory Fields)
This commit is contained in:
commit
526711503a
@ -76,7 +76,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…
x
Reference in New Issue
Block a user