changeset 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 7b943924b8d3
children 4c5bfe0f8502
files main/main.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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");