Skip to content
Commit 027340cd authored by Kevin Funk's avatar Kevin Funk
Browse files

Fix crash in WikipediaApplet.

The crash happened because of the loadProgress() signal triggering the
_pageLoadProgress() slot in the Wikipedia applet *after* the
_pageLoadFinished() has been triggered already.
That caused a null-pointer dereference.

The actual problem is that we are not disconnecting from the webView
loadProgress() signal after some page loading has been finished.

Also remove some not-so-pretty static_assert statements and use a more
type-safe approach to keep track of the progress bar proxy widget.
Use some soft asserts to avoid the worst-case when the proxy widget may
have been deleted somehow.

BUG: 279813
FIXED-IN: 2.5
parent 4f38d444
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment