summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/application.cpp1
-rw-r--r--src/rekonq.kcfg3
-rw-r--r--src/settings/settings_webkit.ui7
3 files changed, 11 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 4b5d492c..f55174d0 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -537,6 +537,7 @@ void Application::updateConfiguration()
// ================ WebKit ============================
defaultSettings->setAttribute(QWebSettings::DnsPrefetchEnabled, ReKonfig::dnsPrefetch());
defaultSettings->setAttribute(QWebSettings::PrintElementBackgrounds, ReKonfig::printElementBackgrounds());
+ defaultSettings->setAttribute(QWebSettings::ZoomTextOnly, ReKonfig::zoomTextOnly());
defaultSettings->setAttribute(QWebSettings::JavascriptEnabled, ReKonfig::javascriptEnabled());
defaultSettings->setAttribute(QWebSettings::JavascriptCanOpenWindows, ReKonfig::javascriptCanOpenWindows());
diff --git a/src/rekonq.kcfg b/src/rekonq.kcfg
index 3cb7989c..3e8e07ff 100644
--- a/src/rekonq.kcfg
+++ b/src/rekonq.kcfg
@@ -219,6 +219,9 @@
<entry name="printElementBackgrounds" type="Bool">
<default>true</default>
</entry>
+ <entry name="zoomTextOnly" type="Bool">
+ <default>false</default>
+ </entry>
</group>
diff --git a/src/settings/settings_webkit.ui b/src/settings/settings_webkit.ui
index 62f3bafd..d797171b 100644
--- a/src/settings/settings_webkit.ui
+++ b/src/settings/settings_webkit.ui
@@ -72,6 +72,13 @@
</property>
</widget>
</item>
+ <item>
+ <widget class="QCheckBox" name="kcfg_zoomTextOnly">
+ <property name="text">
+ <string>Zoom Text only</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>