fixed text position on Mavericks/Qt4.8

This commit is contained in:
Luis Ángel San Martín
2013-12-16 00:00:01 +01:00
parent ac67dc03c6
commit aeb6ae6aec
3 changed files with 12 additions and 1 deletions

View File

@ -123,6 +123,13 @@ void logSystemAndConfig()
int main( int argc, char ** argv )
{
#ifdef Q_OS_MAC
#if QT_VERSION < 0x050000
if(QSysInfo::MacintoshVersion > QSysInfo::MV_10_8)
QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
#endif
#endif
QApplication app( argc, argv );
app.setApplicationName("YACReaderLibrary");