diff --git a/src/lib/webengine/webinspector.cpp b/src/lib/webengine/webinspector.cpp index cbc9f86c6..563b5e7df 100644 --- a/src/lib/webengine/webinspector.cpp +++ b/src/lib/webengine/webinspector.cpp @@ -29,6 +29,7 @@ QList WebInspector::s_views; WebInspector::WebInspector(QWidget *parent) : QWebEngineView(parent) { + setAttribute(Qt::WA_DeleteOnClose); setObjectName(QSL("web-inspector")); setMinimumHeight(80);