Commit 2a972c40 authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Fix assert on deleting installed custom URL scheme handler


When the QObject::destroyed signal is emitted the inherited class parts
have already been destroyed and thus it is no longer a
QWebEngineUrlSchemeHandler and qobject_cast will return 0, which is
asserted against.

Change-Id: I7130c60a26088067930499a30e0081ed297a92d9
Reviewed-by: default avatarKai Koehne <kai.koehne@theqtcompany.com>
parent 6a45d22a
Showing with 9 additions and 5 deletions
Supports Markdown
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