Mercurial > hg > sonic-annotator
changeset 274:bfad84d0bb1d piper-nopiper
Locale setting
author | Chris Cannam |
---|---|
date | Fri, 25 Nov 2016 14:26:32 +0000 |
parents | 5db279f1e0f8 |
children | 0d9816498764 |
files | .hgsubstate runner/main.cpp |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgsubstate Fri Nov 25 13:37:02 2016 +0000 +++ b/.hgsubstate Fri Nov 25 14:26:32 2016 +0000 @@ -3,5 +3,5 @@ 896aefe629c85b05ae0880ec93a396b9e3a5a304 dataquay 3257ddb6fff110cc88f3ffeaeefa0f29d5eb3b6f piper-cpp e1712f7d74a455337591091a57beba2f0443b9dd sv-dependency-builds -5cc969b236b0c71dbb44be44c9756264e6c16a82 svcore +a1af054d8f75666dac413fb10a971a3c97fd5add svcore 0eebd22a081a824067bf3d5de65326696feab653 vamp-plugin-sdk
--- a/runner/main.cpp Fri Nov 25 13:37:02 2016 +0000 +++ b/runner/main.cpp Fri Nov 25 14:26:32 2016 +0000 @@ -934,6 +934,11 @@ } settings.endGroup(); + QLocale locale; + locale.setNumberOptions(QLocale::OmitGroupSeparator | + QLocale::OmitLeadingZeroInExponent); + QLocale::setDefault(locale); + FeatureExtractionManager manager(!quiet); manager.setNormalise(normalise);