mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Fix white flashes
This commit is contained in:
parent
9d8a727f9f
commit
4ebeb509b7
@ -81,6 +81,8 @@ WebPage::WebPage(QObject* parent)
|
||||
, m_secureStatus(false)
|
||||
{
|
||||
QWebChannel *channel = new QWebChannel(this);
|
||||
// Prevents white flashes.
|
||||
setBackgroundColor(MainApplication::palette().color(QPalette::Window));
|
||||
ExternalJsObject::setupWebChannel(channel, this);
|
||||
setWebChannel(channel, SafeJsWorld);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user