1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Don't set white body bg color for sites by default

- it does actually break some pages

Reverts 4fce161414
This commit is contained in:
nowrep 2012-11-09 14:59:46 +01:00
parent f20e10a360
commit 0c4b8e164e

View File

@ -812,8 +812,7 @@ QUrl MainApplication::userStyleSheet(const QString &filePath) const
// Set default white background for all sites
// Fixes issue with dark themes when sites don't set background
QString userStyle = "body{background:white;}";
userStyle += AdBlockManager::instance()->elementHidingRules() + "{ display:none !important;}";
QString userStyle = AdBlockManager::instance()->elementHidingRules() + "{ display:none !important;}";
QFile file(filePath);
if (!filePath.isEmpty() && file.open(QFile::ReadOnly)) {