summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-26 16:46:56 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-26 16:46:56 +0200
commitdfead668759525cf0bd833cb873b694cbf05905d (patch)
tree70f76736b5f1b68501e2081340e29ec956172c2b /src/application.cpp
parentinverting position of kget options (diff)
downloadrekonq-dfead668759525cf0bd833cb873b694cbf05905d.tar.xz
Encodings management
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index b28055f7..d2754ec1 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -411,9 +411,11 @@ void Application::updateConfiguration()
else
view->tabBar()->setSelectionBehaviorOnRemove(QTabBar::SelectRightTab);
- // =========== Fonts ==============
+ // =========== Encodings & Fonts ==============
QWebSettings *defaultSettings = QWebSettings::globalSettings();
+ defaultSettings->setDefaultTextEncoding( ReKonfig::defaultEncoding() );
+
int fnSize = ReKonfig::fontSize();
int minFnSize = ReKonfig::minFontSize();