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

Revert "Fix white flashes"

This reverts commit 4ebeb509b7.

This commit is causing rendering errors as described in bugreport
https://bugs.kde.org/show_bug.cgi?id=426486
This commit is contained in:
Juraj Oravec 2020-09-13 21:41:10 +02:00
parent 4ebeb509b7
commit d00d385ea6

View File

@ -81,8 +81,6 @@ WebPage::WebPage(QObject* parent)
, m_secureStatus(false) , m_secureStatus(false)
{ {
QWebChannel *channel = new QWebChannel(this); QWebChannel *channel = new QWebChannel(this);
// Prevents white flashes.
setBackgroundColor(MainApplication::palette().color(QPalette::Window));
ExternalJsObject::setupWebChannel(channel, this); ExternalJsObject::setupWebChannel(channel, this);
setWebChannel(channel, SafeJsWorld); setWebChannel(channel, SafeJsWorld);