summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2016-11-01 22:35:23 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2016-11-02 14:48:34 (GMT)
commitbaead1e2a8ff7938f6be9c5fc01762edddd2ace9 (patch)
tree100e2a6a9478a796dc33c31da94ec828239330ef /Source/QtDialog
parent713424ad207aa0f5e01f8c16b2ee1c442a91893a (diff)
downloadCMake-baead1e2a8ff7938f6be9c5fc01762edddd2ace9.zip
CMake-baead1e2a8ff7938f6be9c5fc01762edddd2ace9.tar.gz
CMake-baead1e2a8ff7938f6be9c5fc01762edddd2ace9.tar.bz2
Encoding: Remove option to use ANSI code page internally
The switch to use UTF-8 encoding has been defaulted to on for quite some time since commit v3.2.0-rc1~116^2 (Encoding: Switch to use UTF-8 internally by default on Windows, 2014-12-26).
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index fad8075..9038469 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -95,10 +95,8 @@ int main(int argc, char** argv)
setlocale(LC_NUMERIC, "C");
-#if defined(CMAKE_ENCODING_UTF8)
QTextCodec* utf8_codec = QTextCodec::codecForName("UTF-8");
QTextCodec::setCodecForLocale(utf8_codec);
-#endif
#if QT_VERSION < 0x050000
// clean out standard Qt paths for plugins, which we don't use anyway