diff options
author | Frédéric Brière <fbriere@fbriere.net> | 2018-02-10 22:40:54 -0500 |
---|---|---|
committer | Frédéric Brière <fbriere@fbriere.net> | 2018-02-10 22:40:54 -0500 |
commit | 93a9684d70fac2d1d63b812b5102d3b805865572 (patch) | |
tree | 861c48992d00889337da71fe1d7efa12e9b4d38e /src | |
parent | bef7d968237d62f3b37074328533b530fef24384 (diff) | |
download | twinkle-93a9684d70fac2d1d63b812b5102d3b805865572.tar twinkle-93a9684d70fac2d1d63b812b5102d3b805865572.tar.gz twinkle-93a9684d70fac2d1d63b812b5102d3b805865572.tar.lz twinkle-93a9684d70fac2d1d63b812b5102d3b805865572.tar.xz twinkle-93a9684d70fac2d1d63b812b5102d3b805865572.zip |
Remove some code specific to Qt 4
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/main.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp index a0f5d29..a402d41 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -511,10 +511,6 @@ QApplication *create_user_interface(bool cli_mode, int argc, char **argv, QTrans qa = new t_twinkle_application(tmp, argv); MEMMAN_NEW(qa); #endif -#if QT_VERSION < 0x050000 // In Qt5, these functions are removed. UTF-8 is the default. - QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8")); - QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8")); -#endif g_gui_state = new QSettings(QDir::home().absoluteFilePath(QString("%1/%2").arg(DIR_USER).arg("gui_state.ini")), QSettings::IniFormat, qa); |