# HG changeset patch # User Chris Cannam # Date 1191590807 0 # Node ID 77cd75905998b68ef04589e48d912cf28145e649 # Parent 7b943924b8d35e22aee3300759b9e46b42000679 * Ensure locale from environment is retained after plugin load, not just C locale diff -r 7b943924b8d3 -r 77cd75905998 main/main.cpp --- 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"); qRegisterMetaType("PropertyContainer::PropertyName");