summaryrefslogtreecommitdiff
path: root/src/webenginewidgets/api/qwebenginepage.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2016-05-31 14:15:17 +0200
committerAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-05-31 12:33:55 +0000
commit3af17048cbd64fff17eedc340571e7555ea9790a (patch)
treeae6d3cf56023a731169ea19a83daeaff2f943502 /src/webenginewidgets/api/qwebenginepage.cpp
parent9d77fecb32d6e5f25481fcd58230cb4e4b40a294 (diff)
downloadqtwebengine-3af17048cbd64fff17eedc340571e7555ea9790a.tar.gz
Fix crash related to audioMuted and recentlyAudible properties in qml.
If the qml properties audioMuted or recentlyAudible are accessed / set on a WebEngineView on application startup, the application will crash due to accessing a null pointer (the web contents adapter is not allocated yet). Add guards against null pointer access, to prevent the crash. Change-Id: I939be9afa093d1889024b2ff9308deb88b9316bf Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebenginepage.cpp')
0 files changed, 0 insertions, 0 deletions