diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-02-14 23:33:39 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-14 23:33:39 +0100 |
commit | 9731934d1c45b7e6f27b58b9083b23ecbc084288 (patch) | |
tree | 20ee22f4b68b75ac54bac2afd09edc038019bf45 /src/webpage.cpp | |
parent | Added credit for Johannes Troscher (diff) | |
download | rekonq-9731934d1c45b7e6f27b58b9083b23ecbc084288.tar.xz |
This patch cleans up encoding management, moving code to
its real position: The appearance settings widget.
In fact our code is actually changing "default" text encoding, not
the page one "on the fly"
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 791bb367..b44b2e4d 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -532,13 +532,6 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply) void WebPage::loadStarted() { - // HACK: - // Chinese encoding Fix. See BUG: 251264 - // Use gb18030 instead of gb2312 - if(settings()->defaultTextEncoding() == QL1S("gb2312")) - { - settings()->setDefaultTextEncoding( QL1S("gb18030") ); - } } void WebPage::loadFinished(bool ok) |