From 3f3553ff77a5e429a4527a9ad2f7ff8863226161 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 4 Jan 2012 19:04:14 +0100 Subject: Finally fix problems with unset background WARNING: This fix works just with qtwebkit 2.2.x!!! BUG: 287782 --- src/application.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/application.cpp') diff --git a/src/application.cpp b/src/application.cpp index fb67c236..a09fc26e 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -2,7 +2,7 @@ * * This file is a part of the rekonq project * -* Copyright (C) 2008-2011 by Andrea Diamantini +* Copyright (C) 2008-2012 by Andrea Diamantini * Copyright (C) 2009 by Paweł Prażak * Copyright (C) 2009-2011 by Lionel Chauvin * @@ -659,11 +659,8 @@ void Application::updateConfiguration() 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"))) - : defaultSettings->setUserStyleSheetUrl(ReKonfig::userCSS()) - ; + // Applies user defined CSS to all open webpages. + defaultSettings->setUserStyleSheetUrl(ReKonfig::userCSS()); // ====== load Settings on main classes historyManager()->loadSettings(); -- cgit v1.2.1