fixing setting the locale back to what should be expected
fix should be applyed for every window interface and generation
Merge pull request #3046 from StevenPuttemans:fix_Qt_locale
Merge remote-tracking branch 'upstream/2.4' into 2.4