mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
WebView: Don't change m_progress when loading finished
QtWebEngine may emit loadProgress signal even after loadFinished was already emitted. Closes #2222
This commit is contained in:
parent
7112149670
commit
b61b4aca67
|
@ -403,7 +403,9 @@ void WebView::slotLoadStarted()
|
|||
|
||||
void WebView::slotLoadProgress(int progress)
|
||||
{
|
||||
m_progress = progress;
|
||||
if (m_progress < 100) {
|
||||
m_progress = progress;
|
||||
}
|
||||
}
|
||||
|
||||
void WebView::slotLoadFinished(bool ok)
|
||||
|
|
Loading…
Reference in New Issue
Block a user