Mercurial > hg > sonic-visualiser
diff main/main.cpp @ 187:77cd75905998
* Ensure locale from environment is retained after plugin load, not
just C locale
author | Chris Cannam |
---|---|
date | Fri, 05 Oct 2007 13:26:47 +0000 |
parents | 98ba77e0d897 |
children | c08c312b2399 |
line wrap: on
line diff
--- a/main/main.cpp Thu Oct 04 16:34:11 2007 +0000 +++ b/main/main.cpp Fri Oct 05 13:26:47 2007 +0000 @@ -256,6 +256,8 @@ svTranslator.load(svTrName, ":i18n"); application.installTranslator(&svTranslator); + StoreStartupLocale(); + // Permit size_t and PropertyName to be used as args in queued signal calls qRegisterMetaType<size_t>("size_t"); qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName");