diff options
author | ace20022 <ace20022@ymail.com> | 2013-09-27 12:50:50 +0200 |
---|---|---|
committer | ace20022 <ace20022@ymail.com> | 2013-09-29 21:11:41 +0200 |
commit | b51ab27a9c289ebf504f45f48845ed09fef01b3d (patch) | |
tree | 383ab11cafd3e1f4bdaa1853c00c356b77bf2c8d | |
parent | 953d2b11057ad236d6fba3edcbef813b038731a1 (diff) |
[LangInfo] Load preferred audio/subtitle setting during the startup.
-rw-r--r-- | xbmc/Application.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index a10fc2c512..7e02896b74 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -763,6 +763,8 @@ bool CApplication::Create() CLog::Log(LOGINFO, "load language info file: %s", strLangInfoPath.c_str()); g_langInfo.Load(strLangInfoPath); + g_langInfo.SetAudioLanguage(CSettings::Get().GetString("locale.audiolanguage")); + g_langInfo.SetSubtitleLanguage(CSettings::Get().GetString("locale.subtitlelanguage")); CStdString strLanguagePath = "special://xbmc/language/"; |