diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-24 10:24:33 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-24 10:24:33 +0200 |
commit | 2dc5216c6ac48e638dd6e3e7998f0b9d10773d95 (patch) | |
tree | ab55f488ed5673b30771375aa2af11a2a522d6fa /src/mainwindow.cpp | |
parent | Middle click closes tab (diff) | |
parent | Fixed a bit setting_webkit.ui (diff) | |
download | rekonq-2dc5216c6ac48e638dd6e3e7998f0b9d10773d95.tar.xz |
Merge branch 'userCSS'
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d4c555ef..b2c1fed1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -474,6 +474,11 @@ void MainWindow::slotUpdateConfiguration() defaultSettings->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, ReKonfig::offlineStorageDatabaseEnabled()); defaultSettings->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled, ReKonfig::offlineWebApplicationCacheEnabled()); defaultSettings->setAttribute(QWebSettings::LocalStorageDatabaseEnabled, ReKonfig::localStorageDatabaseEnabled()); + /** + * Applies user defined CSS to all open webpages. If there no longer is a + * user defined CSS removes it from all open webpages. + */ + defaultSettings->setUserStyleSheetUrl(ReKonfig::userCSS()); // ====== load Settings on main classes Application::networkAccessManager()->loadSettings(); |