summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-14 13:30:26 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-03-14 13:30:26 (GMT)
commit67a0d5e4c4c2b7379538bbc29f349c7fb2205947 (patch)
treedbbbbb7e7a47a843f29511ab4c25f2326005b529
parent92b423fc2f504c645405669ffa5659c2268c6445 (diff)
parentc34216cf8a265b617d4422d772187e38e57647ba (diff)
downloadCMake-67a0d5e4c4c2b7379538bbc29f349c7fb2205947.zip
CMake-67a0d5e4c4c2b7379538bbc29f349c7fb2205947.tar.gz
CMake-67a0d5e4c4c2b7379538bbc29f349c7fb2205947.tar.bz2
Merge topic 'unicode-cmake-gui'
c34216cf cmake-gui: Fix compile with Qt5 using UTF-8 internal encoding.
-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 995929e..1b04a00 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -81,9 +81,7 @@ int main(int argc, char** argv)
#if defined(KWSYS_CP_UTF8)
QTextCodec* utf8_codec = QTextCodec::codecForName("UTF-8");
- QTextCodec::setCodecForCStrings(utf8_codec);
QTextCodec::setCodecForLocale(utf8_codec);
- QTextCodec::setCodecForTr(utf8_codec);
#endif
// clean out standard Qt paths for plugins, which we don't use anyway