Raise Progress events later on the event loop, to avoir possible crashes of WebView methods.
[GB.QT4.WEBKIT] * BUG: Raise Progress evens later on the event loop, to avoir possible crashes of WebView methods. [GB.QT5.WEBKIT] * BUG: Raise Progress events later on the event loop, to avoir possible crashes of WebView methods.
This commit is contained in:
parent
bf745644c7
commit
0ee8b98ca8
1 changed files with 2 additions and 2 deletions
|
@ -833,7 +833,7 @@ void CWebView::loadProgress(int progress)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
THIS->progress = v;
|
THIS->progress = v;
|
||||||
GB.Raise(THIS, EVENT_PROGRESS, 0);
|
GB.RaiseLater(THIS, EVENT_PROGRESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CWebView::loadStarted()
|
void CWebView::loadStarted()
|
||||||
|
@ -844,7 +844,7 @@ void CWebView::loadStarted()
|
||||||
|
|
||||||
THIS->progress = 0;
|
THIS->progress = 0;
|
||||||
_network_access_manager_view = THIS;
|
_network_access_manager_view = THIS;
|
||||||
GB.Raise(THIS, EVENT_PROGRESS, 0);
|
GB.RaiseLater(THIS, EVENT_PROGRESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CWebView::selectionChanged()
|
void CWebView::selectionChanged()
|
||||||
|
|
Loading…
Reference in a new issue