summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 6b74766f..df99b785 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -608,6 +608,10 @@ void Application::updateConfiguration()
QWebSettings::setOfflineStorageDefaultQuota(50000);
}
+ // ================= WebGl ===================
+ defaultSettings->setAttribute(QWebSettings::WebGLEnabled, ReKonfig::webGL());
+ defaultSettings->setAttribute(QWebSettings::AcceleratedCompositingEnabled, ReKonfig::webGL());
+
// Applies user/system defined CSS to all open webpages.
ReKonfig::userCSS().isEmpty()
? defaultSettings->setUserStyleSheetUrl(KUrl(KStandardDirs::locate("appdata" , "default_rekonq.css")))