1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

FalkonSchemeHandler: Load contents immediately

BUG: 403129
FIXED-IN: 3.1.0
This commit is contained in:
David Rosca 2019-01-24 10:10:10 +01:00
parent 6015a56f7c
commit 675f148598
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -88,8 +88,7 @@ FalkonSchemeReply::FalkonSchemeReply(QWebEngineUrlRequestJob *job, QObject *pare
, m_job(job)
{
m_pageName = m_job->requestUrl().path();
QTimer::singleShot(0, this, &FalkonSchemeReply::loadPage);
loadPage();
}
void FalkonSchemeReply::loadPage()
@ -116,7 +115,6 @@ void FalkonSchemeReply::loadPage()
m_buffer.open(QIODevice::ReadOnly);
lock.unlock();
open(QIODevice::ReadOnly);
emit readyRead();
m_loaded = true;