diff options
author | Johannes Tröscher <fritz_van_tom@hotmail.com> | 2011-10-30 17:37:38 +0100 |
---|---|---|
committer | Johannes Tröscher <fritz_van_tom@hotmail.com> | 2011-10-30 17:37:38 +0100 |
commit | 75fe0b563fc229680626b4a0fa30495577b8e70b (patch) | |
tree | 452d46585c176ba8794d5ef5e4201c3ed18fcc1f /src | |
parent | -Wmissing-include-dirs (diff) | |
download | rekonq-75fe0b563fc229680626b4a0fa30495577b8e70b.tar.xz |
Fix WebGl setting
REVIEWED-BY: trustMe
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 4 |
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"))) |