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.
This commit is contained in:
Clinton Stimpson 2014-03-12 20:48:46 -06:00
parent 649789a736
commit c34216cf8a
1 changed files with 0 additions and 2 deletions

View File

@ -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