summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-12 13:28:33 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-05-12 13:28:33 (GMT)
commit7057864560f2b54617a1ff603eede13d2730b65b (patch)
tree7fc95d22e3a223fcab187fd1604a4f4170405fd1 /Source
parent4cc32ad538bbb9169e31f275658d40542a56a0bd (diff)
parentcab095e11e618e2bb9a62538a080518946bafd4a (diff)
downloadCMake-7057864560f2b54617a1ff603eede13d2730b65b.zip
CMake-7057864560f2b54617a1ff603eede13d2730b65b.tar.gz
CMake-7057864560f2b54617a1ff603eede13d2730b65b.tar.bz2
Merge topic 'cmake-gui-locale'
cab095e1 cmake-gui: Always use "C" locale for numbers (#16099)
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index b78a5df..1e1f040 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -94,6 +94,8 @@ int main(int argc, char** argv)
QApplication app(argc, argv);
+ setlocale(LC_NUMERIC, "C");
+
#if defined(CMAKE_ENCODING_UTF8)
QTextCodec* utf8_codec = QTextCodec::codecForName("UTF-8");
QTextCodec::setCodecForLocale(utf8_codec);