Commit 40a4a3a9 authored by Andrea Diamantini's avatar Andrea Diamantini
Browse files

Add zoom text only webkit feature settings

Piedro, because of your comment about Midori, I tried applying this.
I don't think this fixes your problem, but it surely "hides" the
bug ;)

CCBUG: 295446
parent d70ae675
......@@ -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());
......
......@@ -219,6 +219,9 @@
<entry name="printElementBackgrounds" type="Bool">
<default>true</default>
</entry>
<entry name="zoomTextOnly" type="Bool">
<default>false</default>
</entry>
</group>
......
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment