mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
Remove WebPage loadFinished workaround
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
1f5e256e5a
commit
b2ec20778b
@ -109,13 +109,6 @@ WebPage::WebPage(QObject* parent)
|
||||
disconnect(m_contentsResizedConnection);
|
||||
});
|
||||
|
||||
// Workaround for broken load started/finished signals in QtWebEngine 5.10, 5.11
|
||||
connect(this, &QWebEnginePage::loadProgress, this, [this](int progress) {
|
||||
if (progress == 100) {
|
||||
Q_EMIT loadFinished(true);
|
||||
}
|
||||
});
|
||||
|
||||
connect(this, &QWebEnginePage::registerProtocolHandlerRequested, this, [this](QWebEngineRegisterProtocolHandlerRequest request) {
|
||||
delete m_registerProtocolHandlerRequest;
|
||||
m_registerProtocolHandlerRequest = new QWebEngineRegisterProtocolHandlerRequest(request);
|
||||
|
Loading…
Reference in New Issue
Block a user