qt: fonts: allow SubstituteFonts to filter based on user's language

SubstituteFonts() has been moved to after app identification so that QSettings
are accessible.
This commit is contained in:
Cory Fields
2015-01-16 16:03:48 -05:00
parent 9fe53a85e0
commit f5ad78b34a
3 changed files with 20 additions and 13 deletions

View File

@@ -383,7 +383,7 @@ void openDebugLogfile()
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug)));
}
void SubstituteFonts()
void SubstituteFonts(const QString& language)
{
#if defined(Q_OS_MAC)
// Background: