diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-03-24 18:18:29 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-03-30 10:00:56 +0100 |
commit | 4cd74a7c81652869f6943c21da13074b83bc3aeb (patch) | |
tree | 01a04baa115f1644ff502a4b7de7ba9294271508 /src/webenginequick/api | |
parent | cb65a5a4354e50e5833b12a975254a725e8af704 (diff) | |
download | qtwebengine-4cd74a7c81652869f6943c21da13074b83bc3aeb.tar.gz |
Fix a few code checker warnings
Change-Id: I0eb2cb362759e9a02a61993574906fc1e4b8ffeb
Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
Diffstat (limited to 'src/webenginequick/api')
-rw-r--r-- | src/webenginequick/api/qquickwebengineview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webenginequick/api/qquickwebengineview.cpp b/src/webenginequick/api/qquickwebengineview.cpp index 1588a8d6f..3aca79672 100644 --- a/src/webenginequick/api/qquickwebengineview.cpp +++ b/src/webenginequick/api/qquickwebengineview.cpp @@ -218,7 +218,7 @@ void QQuickWebEngineViewPrivate::releaseProfile() // garbage collected, delete WebContents first and // let the QQuickWebEngineView be collected later by gc. bindViewAndWidget(q_ptr, nullptr); - delete q_ptr->d_ptr.take(); + q_ptr->d_ptr.reset(); } UIDelegatesManager *QQuickWebEngineViewPrivate::ui() |