mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
FalkonSchemeHandler: Load contents immediately
BUG: 403129 FIXED-IN: 3.1.0
This commit is contained in:
parent
6015a56f7c
commit
675f148598
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user