diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2014-03-13 02:48:46 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2014-03-13 02:48:46 (GMT) |
commit | c34216cf8a265b617d4422d772187e38e57647ba (patch) | |
tree | 0173335edcb16e75368919d1dea18765a724fe67 /Source/QtDialog | |
parent | 649789a736bb217f818696eae36ee6e6a2e1aa61 (diff) | |
download | CMake-c34216cf8a265b617d4422d772187e38e57647ba.zip CMake-c34216cf8a265b617d4422d772187e38e57647ba.tar.gz CMake-c34216cf8a265b617d4422d772187e38e57647ba.tar.bz2 |
cmake-gui: Fix compile with Qt5 using UTF-8 internal encoding.
Because we already call [to|from]Local8Bit() with C strings where we are supposed to,
we do not need to specify UTF-8 encoding when converting C strings to QString.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 2 |
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 |